X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=generator%2Fgenerator_actions.ml;h=55e8d5daa416ca7e91f6f496daba4890c6f63a10;hb=31fba8d8033216f8a288e75fe3f575b73b9ef925;hp=925640f20657970879593251ac16e018d9267001;hpb=c4bd6bba8d88ecf1ebf4a9c2c80a407d9971aaf7;p=libguestfs.git diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index 925640f..55e8d5d 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -747,6 +747,10 @@ FreeBSD. NetBSD. +=item \"hurd\" + +GNU/Hurd. + =item \"unknown\" The operating system type could not be determined. @@ -6432,7 +6436,7 @@ To get the current values of filesystem parameters, see C. For precise details of how tune2fs works, see the L man page."); - ("mdadm_create", (RErr, [String "name"; DeviceList "devices"], [Int64 "missingbitmap"; Int "nrdevices"; Int "spare"; Int64 "chunk"; String "level"]), 299, [Optional "mdadm"], + ("md_create", (RErr, [String "name"; DeviceList "devices"], [Int64 "missingbitmap"; Int "nrdevices"; Int "spare"; Int64 "chunk"; String "level"]), 299, [Optional "mdadm"], [], "create a Linux md (RAID) device", "\ @@ -6496,7 +6500,7 @@ If not set, this defaults to C. "\ List all Linux md devices."); - ("mdadm_detail", (RHashtable "info", [Device "md"], []), 301, [Optional "mdadm"], + ("md_detail", (RHashtable "info", [Device "md"], []), 301, [Optional "mdadm"], [], "obtain metadata for an MD device", "\ @@ -6527,6 +6531,51 @@ The name of the MD device. =back"); + ("md_stop", (RErr, [Device "md"], []), 302, [Optional "mdadm"], + [], + "stop a Linux md (RAID) device", + "\ +This command deactivates the MD array named C. The +device is stopped, but it is not destroyed or zeroed."); + + ("blkid", (RHashtable "info", [Device "device"], []), 303, [], + [InitScratchFS, Always, TestOutputHashtable ( + [["blkid"; "/dev/sdb1"]], + ["TYPE", "ext2"; + "USAGE", "filesystem"; + "PART_ENTRY_NUMBER", "1"; + "PART_ENTRY_TYPE", "0x83"; + "PART_ENTRY_OFFSET", "128"; + "PART_ENTRY_SIZE", "102145"])], + "print block device attributes", + "\ +This command returns block device attributes for C. The following fields are +usually present in the returned hash. Other fields may also be present. + +=over + +=item C + +The uuid of this device. + +=item C