Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Linux mformat Command

Linux mformat Command

Linux Command Reference Linux Command Reference

The Linux mformat command is used to format disks with an MS-DOS filesystem.

Create a DOS filesystem on a disk that has already been low-level formatted. If the USE_2M parameter is enabled when compiling mtools, some parameters related to the 2M format take effect. Otherwise these parameters (such as S, 2, 1, M) have no 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:

Parameters:

Example

Format the diskette in a: (that is, /dev/fd0) using the default values.

mformat a:

Linux Command Reference Linux Command Reference