X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=src%2Fgenerator.ml;h=a01eeb7983a177efd38c558c3bd2be05c4710740;hb=6f5c3984a7ddfc111287e2ec214ba823db737db4;hp=5e2b4d4b7a2ec5d96348a971124de48f8688b1b6;hpb=b176abd7bb39ba69ecb523138732dba4b91f4090;p=libguestfs.git diff --git a/src/generator.ml b/src/generator.ml index 5e2b4d4..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