summaryrefslogtreecommitdiffstats
path: root/fdisk/fdisk.8
diff options
context:
space:
mode:
authorKarel Zak2006-12-07 00:25:43 +0100
committerKarel Zak2006-12-07 00:25:43 +0100
commit22853e4a82c6ef7b336527529acb94b14a0b0fd8 (patch)
treeee28e4598c8c449d7e811711d8ce8eb17caecfb6 /fdisk/fdisk.8
parentImported from util-linux-2.10f tarball. (diff)
downloadkernel-qcow2-util-linux-22853e4a82c6ef7b336527529acb94b14a0b0fd8.tar.gz
kernel-qcow2-util-linux-22853e4a82c6ef7b336527529acb94b14a0b0fd8.tar.xz
kernel-qcow2-util-linux-22853e4a82c6ef7b336527529acb94b14a0b0fd8.zip
Imported from util-linux-2.10m tarball.
Diffstat (limited to 'fdisk/fdisk.8')
-rw-r--r--fdisk/fdisk.817
1 files changed, 11 insertions, 6 deletions
diff --git a/fdisk/fdisk.8 b/fdisk/fdisk.8
index 2a8c85e8e..aad93987b 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] [\-b sectorsize]" device
.sp
-.BI "fdisk \-l [\-u] [" "device ..." ]
+.BI "fdisk \-l [\-u] [\-b sectorsize] [" "device ..." ]
.sp
.BI "fdisk \-s " "partition ..."
.sp
@@ -169,10 +169,10 @@ program and Linux partitions with the Linux fdisk or Linux cfdisk program.
.SH OPTIONS
.TP
-.B \-v
-Print version number of
-.B fdisk
-program and exit.
+.BI "\-b " sectorsize
+Specify the sector size of the disk. Valid values are 512, 1024, or 2048.
+(Recent kernels know the sector size. Use this only on old kernels or
+to override the kernel's ideas.)
.TP
.B \-l
List the partition tables for the specified devices and then exit.
@@ -188,6 +188,11 @@ of cylinders.
The
.I size
of the partition (in blocks) is printed on the standard output.
+.TP
+.B \-v
+Print version number of
+.B fdisk
+program and exit.
.SH BUGS
There are several *fdisk programs around.
Each has its problems and strengths.