[ Version ( since = "1.17.18" ) ]
public bool zero_free_space (string directory) throws Error
zero free space in a filesystem
Zero the free space in the filesystem mounted on directory. The filesystem must be mounted read-write.
The filesystem contents are not affected, but any free space in the filesystem is freed.
Free space is not "trimmed". You may want to call fstrim either as an alternative to this, or after calling this, depending on your requirements.
this |
A GuestfsSession object |
true on success, false on error |