X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fgenerator.ml;h=a01eeb7983a177efd38c558c3bd2be05c4710740;hb=6f5c3984a7ddfc111287e2ec214ba823db737db4;hp=a58441a96ae9ad8389949772ad8fff1442089b99;hpb=58caa9e5f1dca3916178894876b938a6a45771b0;p=libguestfs.git diff --git a/src/generator.ml b/src/generator.ml index a58441a..a01eeb7 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -1565,6 +1565,55 @@ The implementation uses the C command which refuses to wipe physical volumes that contain any volume groups, so you have to remove those first."); + ("set_e2label", (RErr, [String "device"; String "label"]), 80, [], + [InitBasicFS, TestOutput ( + [["set_e2label"; "/dev/sda1"; "testlabel"]; + ["get_e2label"; "/dev/sda1"]], "testlabel")], + "set the ext2/3/4 filesystem label", + "\ +This sets the ext2/3/4 filesystem label of the filesystem on +C to C