]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdisk: inform on 'p' about wiped partitions
authorKarel Zak <kzak@redhat.com>
Tue, 9 May 2017 12:30:36 +0000 (14:30 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 9 May 2017 12:30:36 +0000 (14:30 +0200)
commitddead341c580e9da21f195c5b3815ec05697bf33
tree336efb3af8c55a0f5d272bccc02de8d89c0fd648
parent29f2e825d8a92fb45469098874691666e5e4e2a0
fdisk: inform on 'p' about wiped partitions

The wipe operation is potentially dangerous. Let's inform about it
always by 'p' (list) command to make sure user knowns about it.

Command (m for help): p
...
Device     Boot Start    End Sectors Size Id Type
/dev/sdc1        2048 204799  202752  99M 83 Linux

Filesystem/RAID signature on partition 1 will be wiped.

Addresses: https://github.com/karelzak/util-linux/issues/437
Signed-off-by: Karel Zak <kzak@redhat.com>
disk-utils/fdisk-list.c