diff options
Diffstat (limited to 'guestfs-actions.pod')
-rw-r--r-- | guestfs-actions.pod | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/guestfs-actions.pod b/guestfs-actions.pod index 53bfa54e..109c73ea 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<zerofree> program on C<device>. 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<not> 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. + |