mformat—Add an MS-DOS filesystem to a low-level formatted disk
mformat [ -t tracks ] [ -h heads ] [ -s sectors ] [ -l volume label ] [ -S sizecode ] [ -2 sectors on track 0 ] [ -M software sector size ] [ -a ][-X ][-C ][-H hidden sectors ] drive:
mformat adds a minimal MS-DOS filesystem (boot sector, FAT, and root directory) to a disk that has already been formatted by a UNIX low-level format.
|t||The number of tracks (not cylinders).|
|h||The number of heads (sides).|
|s||The number of sectors per track. If the 2m option is given, |
|l||An optional volume label.|
|2||2m format. The parameter to this option describes the number of sectors on track 0, head 0. This option is recommended for sectors bigger than normal.|
|1||Don’t use a 2m format, even if the current geometry of the disk is a 2m geometry.|
|M||Software sector size. This parameter describes the sector size in bytes used by the MS-DOS filesystem. By |
|a||If this option is given, an Atari-style serial number is generated. Ataris store their serial number in the OEM label.|
|X||Formats the disk as an Xdf disk. Xdf disks are used by OS/2. This format can hold |
|C||Creates the disk image file to install the MS-DOS filesystem on it. Obviously, this is useless on physical devices such as floppies and hard disk partitions.|
To format a disk at a density other than the default, you must supply (at least) those command-line parameters that are different from the default.