diff options
author | Karel Zak | 2017-02-14 15:11:35 +0100 |
---|---|---|
committer | Karel Zak | 2017-02-14 15:11:35 +0100 |
commit | bb88152764837a579cb7a2b3ba3e979963419bed (patch) | |
tree | 743ad19e2379f2861167c695cde55c713374e3a9 /disk-utils/sfdisk.8 | |
parent | libblkid: fix BLKID_PARTS_FORCE_GPT usage (diff) | |
download | kernel-qcow2-util-linux-bb88152764837a579cb7a2b3ba3e979963419bed.tar.gz kernel-qcow2-util-linux-bb88152764837a579cb7a2b3ba3e979963419bed.tar.xz kernel-qcow2-util-linux-bb88152764837a579cb7a2b3ba3e979963419bed.zip |
sfdisk: improve --wipe functionality
* always (except --wipe=never) wipe old partition tables
* improve warn messages
* improve man page
Addresses: https://github.com/karelzak/util-linux/issues/410
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/sfdisk.8')
-rw-r--r-- | disk-utils/sfdisk.8 | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/disk-utils/sfdisk.8 b/disk-utils/sfdisk.8 index de619bc85..e8ecf4838 100644 --- a/disk-utils/sfdisk.8 +++ b/disk-utils/sfdisk.8 @@ -226,9 +226,11 @@ This option allows to edit for example a hybrid/protective MBR on devices with G Wipe filesystem, RAID and partition-table signatures from the device, in order to avoid possible collisions. The argument \fIwhen\fR can be \fBauto\fR, \fBnever\fR or \fBalways\fR. When this option is not given, the default is -\fBauto\fR, in which case signatures are wiped only when in interactive mode. -In all cases detected signatures are reported by warning messages -before a new partition table is created. See also +\fBauto\fR, in which case signatures are wiped only when in interactive mode; +except the old partition-table signatures which are always wiped before create +a new partition-table if the argument \fIwhen\fR is not \fBnever\fR. In all +cases detected signatures are reported by warning messages before a new +partition table is created. See also .BR wipefs (8) command. |