summaryrefslogtreecommitdiff
path: root/fdisk/fdisk.8
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2006-12-07 00:25:39 +0100
committerKarel Zak <kzak@redhat.com>2006-12-07 00:25:39 +0100
commit7eda085c41faa3445b4b168ce78ab18dab87d98a (patch)
treeeb8da4baebd0af68fa84818d3d51b4a3714667fc /fdisk/fdisk.8
parent5c36a0eb7cdb0360f9afd5d747c321f423b35984 (diff)
downloadutil-linux-old-7eda085c41faa3445b4b168ce78ab18dab87d98a.tar.gz
Imported from util-linux-2.9v tarball.
Diffstat (limited to 'fdisk/fdisk.8')
-rw-r--r--fdisk/fdisk.832
1 files changed, 16 insertions, 16 deletions
diff --git a/fdisk/fdisk.8 b/fdisk/fdisk.8
index 6307b98e..e26baf1c 100644
--- a/fdisk/fdisk.8
+++ b/fdisk/fdisk.8
@@ -5,9 +5,9 @@
.SH NAME
fdisk \- Partition table manipulator for Linux
.SH SYNOPSIS
-.BI "fdisk [\-u] [" device ]
+.BI "fdisk [\-u] " device
.sp
-.BI "fdisk \-l [\-u] [" "device ..." ]
+.BI "fdisk \-l [\-u] " "device ..."
.sp
.BI "fdisk \-s " "partition ..."
.sp
@@ -189,20 +189,6 @@ of cylinders.
The
.I size
of the partition (in blocks) is printed on the standard output.
-This value is normally used as an argument to the
-.BR mkfs (8)
-program to specify the size of the partition which will be formatted.
-(Older versions of fdisk would do this only if the partition id is
-greater than 10, in an attempt to refuse DOS partitions;
-this test has been deleted.)
-Note that
-.B "sfdisk -s"
-gives different (namely, correct) answers.
-Reasons for the difference are that the kernel and
-.B fdisk
-need not have the same idea about partition numbering
-(e.g., in case you have BSD slices), and have different
-ideas about the size of an extended partition.
.SH BUGS
There are several *fdisk programs around.
Each has its problems and strengths.
@@ -210,6 +196,20 @@ Try them in the order
.BR cfdisk ,
.BR fdisk ,
.BR sfdisk .
+(Indeed,
+.B cfdisk
+is a beautiful program that has strict requirements on
+the partition tables it accepts, and produces high quality partition
+tables. Use it if you can.
+.B fdisk
+is a buggy program that does fuzzy things - usually it happens to
+produce reasonable results. Its single advantage is that it has
+some support for BSD disk labels and other non-DOS partition tables.
+Avoid it if you can.
+.B sfdisk
+is for hackers only - the user interface is terrible, but it is
+more correct than fdisk and more powerful than both fdisk and cfdisk.
+Moreover, it can be used noninteractively.)
.PP
The IRIX/SGI type disklabel is currently not supported by the kernel.
Moreover, IRIX/SGI header directories are not fully supported yet.