~pr0gg3d/ubuntu/oneiric/util-linux/bug-805886

« back to all changes in this revision

Viewing changes to fdisk/fdisk.8

  • Committer: Bazaar Package Importer
  • Author(s): Scott James Remnant
  • Date: 2010-03-22 17:35:40 UTC
  • mfrom: (1.6.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20100322173540-sm083tdtvne1wa5w
Tags: 2.17.2-0ubuntu1
* Merge from Debian experimental, remaining changes:
  - Since udev is required in Ubuntu, the hwclock.sh init script is
    not called on startup and the hwclockfirst.sh init script is
    removed.
  - Use wildcards for symbols file, since they use versioned symbols
    properly.
  - Remove /etc/adjtime on upgrade if it was not used.
  - Install custom blkid.conf to use /dev/.blkid.tab since we don't
    expect device names to survive a reboot
  - No lsb_release call in mount.preinst since we'd need Pre-Depends
    (LP: #383697).
  - Do not install initramfs hook, since our initramfs already handles
    including blkid.
  - Mention mountall(8) in fstab(5) manpages, along with its special
    options.

* For the case where mount is called with a directory to mount, look
  that directory up in mountall's /lib/init/fstab if we couldn't find
  it mentioned anywhere else.  This means "mount /proc", "mount /sys",
  etc. work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
fdisk \- Partition table manipulator for Linux
7
7
.SH SYNOPSIS
8
8
.B fdisk
9
 
.RB [ \-u ]
 
9
.RB [ \-uc ]
10
10
.RB [ \-b
11
11
.IR sectorsize ]
12
12
.RB [ \-C
25
25
.IR partition ...
26
26
.sp
27
27
.B fdisk \-v
 
28
.sp
 
29
.B fdisk \-h
28
30
.SH DESCRIPTION
29
31
Hard disks can be divided into one or more logical disks called
30
32
.IR partitions .
180
182
.BI "\-b " sectorsize
181
183
Specify the sector size of the disk. Valid values are 512, 1024, 2048 or 4096.
182
184
(Recent kernels know the sector size. Use this only on old kernels or
183
 
to override the kernel's ideas.)
 
185
to override the kernel's ideas.) Since util-linux-ng 2.17 fdisk differentiates
 
186
between logical and physical sector size. This option changes both sector sizes to
 
187
.IB sectorsize .
 
188
.TP
 
189
.BI \-h
 
190
Print help and then exit.
 
191
.TP
 
192
.BI \-c
 
193
Switch off DOS-compatible mode. (Recommended)
184
194
.TP
185
195
.BI "\-C " cyls
186
196
Specify the number of cylinders of the disk.