X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=generator%2Fgenerator_actions.ml;fp=generator%2Fgenerator_actions.ml;h=55e8d5daa416ca7e91f6f496daba4890c6f63a10;hp=0e39e2f5819e27e9cbd397cadb50454385e8978d;hb=fcb975a6424d48d63f03961e34b92ed7c6a27362;hpb=b7addee24d211014086c44bcef6a0c799e4fb987 diff --git a/generator/generator_actions.ml b/generator/generator_actions.ml index 0e39e2f..55e8d5d 100644 --- a/generator/generator_actions.ml +++ b/generator/generator_actions.ml @@ -6538,6 +6538,44 @@ The name of the MD 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