Easy Tutorial
❮ Linux Comm Rsh Linux Remote Login ❯

Linux mformat Command

Linux Command Manual

The Linux mformat command is used to format disks with the MS-DOS file system.

It creates a DOS file system 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 will take effect. Otherwise, these parameters (such as S, 2, 1, M) will not have any effect.

Syntax

mformat [-t cylinders] [-h heads] [-s sectors] [-l volume_label] [-F] [-I fsVersion] [-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

Formats the disk in a: (which is /dev/fd0) with the default settings.

mformat a:

Linux Command Manual

❮ Linux Comm Rsh Linux Remote Login ❯