X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=guestfs-actions.pod;h=109c73eadb5a76bcc111e5cbf9b52f869e225e23;hb=b8e5f51c79f539a740827506cc9da3ffcb6c87f8;hp=7de041c9cf549bc41e6840584dd44e4b7a1be818;hpb=e8ecc08f663b44f3d79517affe52f137858dfe00;p=libguestfs.git diff --git a/guestfs-actions.pod b/guestfs-actions.pod index 7de041c..109c73e 100644 --- a/guestfs-actions.pod +++ b/guestfs-actions.pod @@ -1295,9 +1295,6 @@ guest kernel command line. The default is C unless overridden by setting C environment variable. -The string C is stashed in the libguestfs handle, so the caller -must make sure it remains valid for the lifetime of the handle. - Setting C to C means I additional options are passed (libguestfs always adds a few of its own). @@ -1370,9 +1367,6 @@ Set the path that libguestfs searches for kernel and initrd.img. The default is C<$libdir/guestfs> unless overridden by setting C environment variable. -The string C is stashed in the libguestfs handle, so the caller -must make sure it remains valid for the lifetime of the handle. - Setting C to C restores the default path. This function returns 0 on success or -1 on error. @@ -1390,9 +1384,6 @@ configure script. You can also override this by setting the C environment variable. -The string C is stashed in the libguestfs handle, so the caller -must make sure it remains valid for the lifetime of the handle. - Setting C to C restores the default qemu binary. This function returns 0 on success or -1 on error. @@ -1756,3 +1747,21 @@ any partition tables, filesystem superblocks and so on. This function returns 0 on success or -1 on error. +=head2 guestfs_zerofree + + int guestfs_zerofree (guestfs_h *handle, + const char *device); + +This runs the I program on C. This program +claims to zero unused inodes and disk blocks on an ext2/3 +filesystem, thus making it possible to compress the filesystem +more effectively. + +You should B run this program if the filesystem is +mounted. + +It is possible that using this program can damage the filesystem +or data on the filesystem. + +This function returns 0 on success or -1 on error. +