[ Version ( since = "1.0.52" ) ]
public bool scrub_freespace (string dir) throws Error
scrub (securely wipe) free space
This command creates the directory dir
and then fills it with files until the filesystem is full, and scrubs the files as
for scrub_file, and deletes them. The intention is to scrub any free space on
the partition containing dir
.
It is an interface to the scrub(1) program. See that manual page for more details.
This function depends on the feature "scrub". See also feature_available .
this |
A GuestfsSession object |
true on success, false on error |