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

The Linux mformat command

Linux Command大全

The Linux mformat command is used to format MS-Format the disk of the DOS file system.

Establish a DOS file system on a disk that has already been low-level formatted. If you set USE_2,M parameters are enabled, some of which are related to 2,M parameters related to format will take effect. Otherwise, these parameters (such as S,2,1,M) will not take effect.

Syntax

mformat [-t cylinders] [-h heads] [-s sectors] [-l volume_label] [-F] [-I fsVer-sion] [-S sizecode] [-2 sectors_on_track_0] [-M software_sector_size] [-a] [-X] [-C] [-H hidden_sectors] [-r root_sectors] [-B boot_sector] [-0 rate_on_track_0] [-A rate_on_other_tracks] [-1] [-k] drive:

Parameter:

  • -t the number of magnetic cylinders (synliders)
  • -h the number of heads (heads)
  • -s the number of magnetic zones per track
  • -l label
  • -F will format the disk as FAT32 format, but this parameter is still in the experiment.
  • -I set FAT32 The version number in this version. Of course, this is also still in the experiment.
  • -S Sector size code, calculated as sector = 2^(Size Code+7)
  • -c Number of sectors in a cluster. If the given number would cause the cluster number to exceed the limit of the FAT table, mformat will automatically increase the sector number.
  • -s
  • -M Size of the software sector. This number is the size reported by the system. It is usually the same as the actual size.
  • -a If this parameter is added, mformat will generate a set of Atari system serial numbers for this diskette.
  • -X Format the diskette into XDF format. You must use the xdfcopy command to perform a low-level formatting on the diskette before using it.
  • -C Create an MS-DOS file system disk image (disk image). Of course, this parameter is meaningless for a physical disk drive.
  • -H Number of hidden sectors. This is usually applicable when formatting a partition of a hard disk, because there is usually a partition table in front of a partition. This parameter has not been tested and should not be used if possible.
  • -n Disk number
  • -r The size of the root directory, in sectors. This parameter is only valid for FAT12 and FAT16 Valid.
  • -B Use the boot sector of the specified file or device as the boot sector for this diskette or partition. Of course, the hardware parameters will change accordingly.
  • -k Try to keep the original boot sector.
  • -0 Data Transfer Rate on Track 0
  • -A Data Transfer Rate Outside of Track 0
  • -2 Use 2m Format
  • -1 Do not use 2m Format

Online Examples

Use the preset value to set a: (which is /dev/Format the diskette in (fd0) here.

mformat a:

Linux Command大全