diff options
author | Karel Zak | 2016-05-04 12:32:52 +0200 |
---|---|---|
committer | Karel Zak | 2016-05-04 12:32:52 +0200 |
commit | 131e38a28ea055548a098611eeba94078a17c19d (patch) | |
tree | 73a6f3d50e0b961740f1970d2a7f79abe93f2a3d /libfdisk/docs/libfdisk-sections.txt | |
parent | libblkid: make I/O errors on CDROMs non-fatal (diff) | |
download | kernel-qcow2-util-linux-131e38a28ea055548a098611eeba94078a17c19d.tar.gz kernel-qcow2-util-linux-131e38a28ea055548a098611eeba94078a17c19d.tar.xz kernel-qcow2-util-linux-131e38a28ea055548a098611eeba94078a17c19d.zip |
libfdisk: add fdisk_wipe_partition()
Now libfdisk provides functionality wipe disk device only ([s]fdisk
option --wipe).
This patch allows to probe for filesystems/RAIDs on newly created
partitions. It means we can remove signatures before the partition
node (device) is created. This reduces udev events and it's
unnecessary to call wipefs for all partitions. For example
sfdisk --wipe=always --wipe-partitions=always /dev/sda <<<
...
EOF
is a elegant way how to create new disk layout without any obsolete
filesystems/RAIDs.
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libfdisk/docs/libfdisk-sections.txt')
-rw-r--r-- | libfdisk/docs/libfdisk-sections.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libfdisk/docs/libfdisk-sections.txt b/libfdisk/docs/libfdisk-sections.txt index dd8df21ef..14d770b7e 100644 --- a/libfdisk/docs/libfdisk-sections.txt +++ b/libfdisk/docs/libfdisk-sections.txt @@ -162,6 +162,7 @@ fdisk_delete_partition fdisk_get_partition fdisk_is_partition_used fdisk_set_partition +fdisk_wipe_partition <SUBSECTION> fdisk_partition fdisk_new_partition |