From e577bea10e7f7090baa5c5a54d4da7db29cbe5c9 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 9 Nov 2020 12:54:18 +0100 Subject: [PATCH] wipefs: (man) add hint to erase on partitions and disk Addresses: https://github.com/karelzak/util-linux/issues/1177 Signed-off-by: Karel Zak --- misc-utils/wipefs.8 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc-utils/wipefs.8 b/misc-utils/wipefs.8 index 0ffe1f1835..cf45fe3794 100644 --- a/misc-utils/wipefs.8 +++ b/misc-utils/wipefs.8 @@ -42,6 +42,8 @@ in environments where a stable output is required. 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 \fBwipefs \-a /dev/sdc1 /dev/sdc2 /dev/sdc\fR. Note that some filesystems and some partition tables store more magic strings on the device (e.g., FAT, ZFS, GPT). The -- 2.47.3