X-Git-Url: http://git.annexia.org/?p=libguestfs.git;a=blobdiff_plain;f=src%2Fgenerator.ml;h=9d190977c6cd58f0cf8678bd1758d7c61843050b;hp=416a66fd96b1c106e6c541d122c0cfe19ec4e6b2;hb=50195d6ec4e893f894ef1bbf7af6eeda56f96600;hpb=0ce9b2bb9bcac61f7fb5dd2811d9b3b621f8309b diff --git a/src/generator.ml b/src/generator.ml index 416a66f..9d19097 100755 --- a/src/generator.ml +++ b/src/generator.ml @@ -2025,7 +2025,8 @@ The checksum is returned as a printable string."); This command uploads and unpacks local file C (an I tar file) into C. -To upload a compressed tarball, use C."); +To upload a compressed tarball, use C +or C."); ("tar_out", (RErr, [String "directory"; FileOut "tarfile"]), 70, [], [], @@ -2034,7 +2035,8 @@ To upload a compressed tarball, use C."); This command packs the contents of C and downloads it to local file C. -To download a compressed tarball, use C."); +To download a compressed tarball, use C +or C."); ("tgz_in", (RErr, [FileIn "tarball"; String "directory"]), 71, [], [InitBasicFS, Always, TestOutput ( @@ -4355,6 +4357,22 @@ This command writes zeroes over the entire C. Compare with C which just zeroes the first few blocks of a device."); + ("txz_in", (RErr, [FileIn "tarball"; String "directory"]), 229, [], + [InitBasicFS, Always, TestOutput ( + [["txz_in"; "../images/helloworld.tar.xz"; "/"]; + ["cat"; "/hello"]], "hello\n")], + "unpack compressed tarball to directory", + "\ +This command uploads and unpacks local file C (an +I tar file) into C."); + + ("txz_out", (RErr, [Pathname "directory"; FileOut "tarball"]), 230, [], + [], + "pack directory into compressed tarball", + "\ +This command packs the contents of C and downloads +it to local file C (as an xz compressed tar archive)."); + ] let all_functions = non_daemon_functions @ daemon_functions