summaryrefslogtreecommitdiffstats
path: root/fdisk/sfdisk.8
diff options
context:
space:
mode:
authorKarel Zak2007-05-31 14:31:51 +0200
committerKarel Zak2007-06-05 10:40:14 +0200
commit5dbff4c0eb7c326e21891b6ce4f123ba96511f87 (patch)
tree0d49f7da1065d4c772b38e455260f5ac0731eb4d /fdisk/sfdisk.8
parentfdisk: Makefile.am refactoring (diff)
downloadkernel-qcow2-util-linux-5dbff4c0eb7c326e21891b6ce4f123ba96511f87.tar.gz
kernel-qcow2-util-linux-5dbff4c0eb7c326e21891b6ce4f123ba96511f87.tar.xz
kernel-qcow2-util-linux-5dbff4c0eb7c326e21891b6ce4f123ba96511f87.zip
fdisk: add GPT detection code
The GPT (GUID Partition Table) is unsupported by fdisk, sfdisk and cfdisk. Unfortunately, the fdisk doesn't complain about GPT.. that's dangerous, because user is able to blindly edit PT with unexpected results. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'fdisk/sfdisk.8')
-rw-r--r--fdisk/sfdisk.85
1 files changed, 5 insertions, 0 deletions
diff --git a/fdisk/sfdisk.8 b/fdisk/sfdisk.8
index 4e1b5a042..37052ab4b 100644
--- a/fdisk/sfdisk.8
+++ b/fdisk/sfdisk.8
@@ -18,6 +18,11 @@ has four (main) uses: list the size of a partition, list the partitions
on a device, check the partitions on a device, and - very dangerous -
repartition a device.
+.B sfdisk
+doesn't understand GUID Partition Table (GPT) and
+it is not designed for large partitions. In particular case use more advanced GNU
+.B parted(8).
+
.SS "List Sizes"
.BI "sfdisk \-s " partition
gives the size of