Linux mpartition command
Linux mpartition command is used to create or delete MS-DOS partitions.
mpartition tool for the mtools commands can create or delete disk partitions.
grammar
mpartition [-acdfIprv][-b <磁区数>][-h <磁头数>][l <磁区数>][-s <磁区数>][-t <柱面数>][驱动器代号]
Parameters:
- -a set a partition to be the boot partition.
- -b <magnetic zone number> When you create partitions, specifying that you want to start building the first of several magnetic domain partition.
- -c create the partition.
- -d partition is set to not boot partitions.
- -f forcibly modify the partition error message occurs regardless of the inspection.
- -h <heads> When you create the partition, specify the number of heads of the partition.
- -I Delete all partitions.
- -l <magnetic zone number> When you create partitions, specify the partition size of the capacity, the unit is the number of magnetic domains.
- -p When you want to re-create the partition, the command line is displayed.
- -r delete a partition.
- -s <number of magnetic region> When you create the partition, specify the number of each track of the magnetic domains.
- -t <cylinders> When you create the partition, the number of cylinders specified partition.
- -v -p parameter used in conjunction with, if not at the same time issued a command to modify the partition, it shows the current state of the partition.