wipefs


Description:

[ Version ( since = "1.17.6" ) ]
public bool wipefs (string device) throws Error

wipe a filesystem signature from a device

This command erases filesystem or RAID signatures from the specified device to make the filesystem invisible to libblkid.

This does not erase the filesystem itself nor any other data from the device.

Compare with zero which zeroes the first few blocks of a device.

This function depends on the feature "wipefs". See also feature_available.

Parameters:

this

A GuestfsSession object

Returns:

true on success, false on error