Linux mpartition Command
The Linux mpartition command is used to create or delete MS-DOS partitions.
mpartition is a mtools command that can create or delete disk partitions.
Syntax
mpartition [-acdfIprv][-b <sector count>][-h <head count>][-l <sector count>][-s <sector count>][-t <cylinder count>][drive letter]
Parameters:
-a Sets the partition as bootable.
-b<sector count> When creating a partition, specifies the starting sector.
-c Creates a partition.
-d Sets the partition as non-bootable.
-f Forces partition modification without regard to error messages during checks.
-h<head count> When creating a partition, specifies the number of heads.
-I Deletes all partitions.
-l<sector count> When creating a partition, specifies the size in sectors.
-p Displays the command line when re-creating a partition.
-r Deletes a partition.
-s<sector count> When creating a partition, specifies the number of sectors per track.
-t<cylinder count> When creating a partition, specifies the number of cylinders.
-v Used with the -p parameter, displays the current partition status if no partition modification command is issued.