summaryrefslogtreecommitdiffstats
path: root/disk-utils/cfdisk.c
diff options
context:
space:
mode:
authorKarel Zak2016-02-18 12:57:13 +0100
committerKarel Zak2016-02-18 12:58:12 +0100
commit15b5e942f2c159db8f726079573bb77cdad560ed (patch)
tree9bed09b92c12888d782a9bdd75e7e6e471d54afa /disk-utils/cfdisk.c
parentfdisk: add --wipe (diff)
downloadkernel-qcow2-util-linux-15b5e942f2c159db8f726079573bb77cdad560ed.tar.gz
kernel-qcow2-util-linux-15b5e942f2c159db8f726079573bb77cdad560ed.tar.xz
kernel-qcow2-util-linux-15b5e942f2c159db8f726079573bb77cdad560ed.zip
sfdisk: add --wipe
This patch changes sfdisk behavior and it wipes foreign signatures from the device to avoid collisions. The wipe functionality is automatically enabled in the interactive mode only (user is always warned about it), otherwise it's possible to control all by --wipe <auto|never|always>. The program does not change behavior when executed in scripts (echo <something> | sfdisk), the option "--wipe=always" is required to enable in this case. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/cfdisk.c')
0 files changed, 0 insertions, 0 deletions