Latest web development tutorials

Linux mformat command

Linux command Daquan Linux command Daquan

Linux mformat command for MS-DOS file system's disk format.

To create a DOS file system has been done on low-level formatted floppy disk. If at the time of the programming mtools USE_2M parameters open, some parameters related with 2M format will play a role. Otherwise, these parameters (such as S, 2,1, M) does not play a role.

grammar

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:

Parameters:

  • -t cylinders (synlider) Number
  • -h head (head) Number
  • -s number for each track of the magnetic domains
  • -l label
  • -F The disk is formatted as FAT32, but this is still experimental parameters.
  • -I Setting FAT32 version number. Which of course is still experimental.
  • -S Magnetic domain size of the code, calculated as the sector = 2 ^ (code size +7)
  • -c Number of magnetic cluster (cluster) of magnetic domains. If the given number will cause the number exceeds the limit of magnetic cluster FAT table, mformat automatically enlarge the number of magnetic domains.
  • -s
  • -M Software magnetic domain size. This figure is the system return magnetic domain size. And it is usually the same as the actual size.
  • -a If you add this parameter, mformat will produce a set of numbers Atari system to this floppy.
  • -X The floppy disk formatted into XDF format. Xdfcopy must first make low-level instruction on the floppy disk formatting operation before use.
  • -C Produce a disk image file can install MS-DOS file system (disk image). Of course, the drive for the next entity this argument makes no sense.
  • -H Hide the number of magnetic domains. This usually applies when formatting a hard disk partition, because usually there is a split front partition table area. This parameter is not tested, can not to do.
  • -n Disk Serial Number
  • -r Root of the size of the unit is the number of magnetic areas. This parameter is only valid for FAT12 and FAT16.
  • -B Boot sector using the specified file or device as this floppy disk boot sector or the partition. Of course, among the hardware parameter changes will follow.
  • -k keep the original boot sector.
  • Data transfer rate -0 0 tracks
  • Data transfer rate -A track outside 0
  • -2 Using a 2m format
  • -1 Not using 2m format

Examples

To use a preset value: Format (is / dev / fd0) floppy disk inside.

mformat a:

Linux command Daquan Linux command Daquan