
316
|
Chapter 3: Linux Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Options
-a Activate the partition, making it the bootable partition.
-b offset
The starting offset of the partition to be created, in sectors.
The default is the start of the disk (partition 1) or immediately
after the end of the previous partition.
-B bootsector
Read the template master boot record from the file specified
by bootsector. Can be specified with -I.
-c Create the partition.
-d Deactivate the partition, making it nonbootable.
-f Allow overriding of safeguards that perform consistency
checking before any change is made to a partition. Can be
specified with any operation that modifies the partition table.
-h heads
The number of heads for a partition being created.
-I Initialize the partition table and remove all partitions.
-l length
The size of the partition to be created, in sectors.
-p Print a command line to re-create the partition. With -v, print
the current partition table.
-r Remove the partition.
-s sectors
The number of sectors per track of the partition to be created.
-t cylinders
The number of cylinders of the partition to be created.
-v With -p, print the current partition table; otherwise, for
commands that modify the partition table, print it after it has
been modified.
-vv Print a hexadecimal dump of the partition table when reading
and writing ...