English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية

Linux mpartition Command

Linux Command大全

The Linux mpartition command is used to create or delete MS partitions.-DOS Partition

mpartition is a command of the mtools tool, which can create or delete disk partitions.

Syntax

mpartition [-acdfIprv][-b <sector number>][-h <head number>][l <sector number>][-s <sector number>][-t <cylinder number>][drive letter]

Parameters:

  • -a Set the partition as a bootable partition.
  • -b<sector number> Specify the starting sector for the partition when creating a partition.
  • -c Create a partition.
  • -d Set the partition as a non-bootable partition.
  • -f Force to modify the partition regardless of the error messages encountered during the check.
  • -h<head number> Specify the number of heads for the partition when creating a partition.
  • -I Delete all partitions.
  • -l<sector number> Specify the partition size in sectors when creating a partition.
  • -p Display the command list when re-creating the partition.
  • -r Delete the partition.
  • -s<sector number> Specify the number of sectors per track when creating a partition.
  • -t<cylinder number> Specify the number of cylinders for the partition when creating a partition.
  • -v And-The 'p' parameter is used together. If the command to modify the partition is not issued at the same time, the current partition status is displayed.

Linux Command大全