summaryrefslogtreecommitdiffstats
path: root/misc-utils/wipefs.8.adoc
diff options
context:
space:
mode:
Diffstat (limited to 'misc-utils/wipefs.8.adoc')
-rw-r--r--misc-utils/wipefs.8.adoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc-utils/wipefs.8.adoc b/misc-utils/wipefs.8.adoc
index d53b768..184c723 100644
--- a/misc-utils/wipefs.8.adoc
+++ b/misc-utils/wipefs.8.adoc
@@ -27,9 +27,9 @@ wipefs - wipe a signature from a device
When used without any options, *wipefs* lists all visible filesystems and the offsets of their basic signatures. The default output is subject to change. So whenever possible, you should avoid using default outputs in your scripts. Always explicitly define expected columns by using *--output* _columns-list_ in environments where a stable output is required.
-*wipefs* calls the *BLKRRPART* ioctl when it has erased a partition-table signature to inform the kernel about the change. The ioctl is called as the last step and when all specified signatures from all specified devices are already erased. This feature can be used to wipe content on partitions devices as well as partition table on a disk device, for example by *wipefs -a /dev/sdc1 /dev/sdc2 /dev/sdc*.
+*wipefs* calls the *BLKRRPART* ioctl when it has erased a partition-table signature to inform the kernel about the change. The ioctl is called as the last step and when all specified signatures from all specified devices are already erased. This feature can be used to wipe content on partition devices as well as a partition table on a disk device, for example by *wipefs -a /dev/sdc1 /dev/sdc2 /dev/sdc*.
-Note that some filesystems and some partition tables store more magic strings on the device (e.g., FAT, ZFS, GPT). The *wipefs* command (since v2.31) lists all the offset where a magic strings have been detected.
+Note that some filesystems and some partition tables store more magic strings on the device (e.g., FAT, ZFS, GPT). The *wipefs* command (since v2.31) lists all the offsets where magic strings have been detected.
When option *-a* is used, all magic strings that are visible for *libblkid*(3) are erased. In this case the *wipefs* scans the device again after each modification (erase) until no magic string is found.
@@ -40,8 +40,8 @@ Note that by default *wipefs* does not erase nested partition tables on non-whol
*-a*, *--all*::
Erase all available signatures. The set of erased signatures can be restricted with the *-t* option.
-*-b*, *--backup*::
-Create a signature backup to the file _$HOME/wipefs-<devname>-<offset>.bak_. For more details see the *EXAMPLE* section.
+*-b*, *--backup*[=_dir_]::
+Create a signature backup to the file _wipefs-<devname>-<offset>.bak_ in _$HOME_ or the directory specified as the optional argument. For more details see the *EXAMPLE* section.
*-f*, *--force*::
Force erasure, even if the filesystem is mounted. This is required in order to erase a partition-table signature on a block device.