-o, --clear
Clear out all partition data. This includes GPT header data, all partition definitions, and the
protective MBR. Note that this operation will, like most other operations, fail on a damaged disk.
If you want to prepare a disk you know to be damaged for GPT use, you should first wipe it with -Z
and then partition it normally. This option will work even if the disk's original partition table
is bad; however, most other options on the same command line will be ignored.
|
-a, --set-alignment=value
Set the sector alignment multiple. GPT fdisk aligns the start of partitions to sectors that are
multiples of this value, which defaults to 2048 on freshly formatted disks. This alignment value
is necessary to obtain optimum performance with Western Digital Advanced Format and similar drives
with larger physical than logical sector sizes, with some types of RAID arrays, and with SSD
devices.
|
-n, --new=partnum:start:end
Create a new partition. You enter a partition number, starting sector, and an ending sector. Both
start and end sectors can be specified in absolute terms as sector numbers or as positions
measured in kibibytes (K), mebibytes (M), gibibytes (G), tebibytes (T), or pebibytes (P); for
instance, 40M specifies a position 40MiB from the start of the disk. You can specify locations
relative to the start or end of the specified default range by preceding the number by a '+' or
'-' symbol, as in +2G to specify a point 2GiB after the default start sector, or -200M to specify
a point 200MiB before the last available sector. A start or end value of 0 specifies the default
value, which is the start of the largest available block for the start sector and the end of the
same block for the end sector. A partnum value of 0 causes the program to use the first available
partition number.
|