zerofree


Description:

[ Version ( since = "1.0.26" ) ]
public bool zerofree (string device) throws Error

zero unused inodes and disk blocks on ext2/3 filesystem

This runs the *zerofree* program on 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 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 depends on the feature "zerofree". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error