X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=guestfs-actions.pod;h=109c73eadb5a76bcc111e5cbf9b52f869e225e23;hb=b8e5f51c79f539a740827506cc9da3ffcb6c87f8;hp=53bfa54e1e155686b0cb4e1fd9015f0983206305;hpb=5d628a4a9cc11eb9a61a1dc683aadca9ac378736;p=libguestfs.git diff --git a/guestfs-actions.pod b/guestfs-actions.pod index 53bfa54..109c73e 100644 --- a/guestfs-actions.pod +++ b/guestfs-actions.pod @@ -1747,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. +