This manpage has been automatically generated from mtools's texinfo documentation, and may not be entirely accurate or complete. See the end of this man page for details.
The mformat command is used to add an MS-DOS file system to a low-level formatted diskette. Its syntax is:
mformat [-t cylinders|-T tot_sectors] [-h heads] [-s sectors] [-f size] [-1] [-4] [-8] [-v volume_label] [-F] [-S sizecode] [-M software_sector_size] [-N serial_number] [-a] [-C] [-H hidden_sectors] [-I fsVersion] [-r root_sectors] [-L fat_len] [-B boot_sector] [-k] [-m media_descriptor] [-K backup_boot] [-c clusters_per_sector] [-d fat_copies] [-X] [-2 sectors_on_track_0] [-3] [-0 rate_on_track_0] [-A rate_on_other_tracks] drive:
Mformat adds a minimal MS-DOS file system (boot sector, FAT, and root directory) to a diskette that has already been formatted by a Unix low-level format.
The following options are supported: (The S, 2, 1 and M options may not exist if this copy of mtools has been compiled without the USE_2M option)
The following options are the same as for MS-DOS's format command:
MS-DOS format's q, u and b options are not supported, and s has a different meaning.
The following options are specific to mtools:
To format a diskette at a density other than the default, you must supply (at least) those command line parameters that are different from the default.
Mformat returns 0 on success or 1 on failure.
It doesn't record bad block information to the Fat, use mbadblocks for that.
Mtools' texinfo doc
This manpage has been automatically generated from mtools's texinfo documentation. However, this process is only approximative, and some items, such as crossreferences, footnotes and indices are lost in this translation process. Indeed, these items have no appropriate representation in the manpage format. Moreover, not all information has been translated into the manpage version. Thus I strongly advise you to use the original texinfo doc. See the end of this manpage for instructions how to view the texinfo doc.
./configure; make dvi; dvips mtools.dvi
./configure; make html
A premade html can be found at ∞http://www.gnu.org/software/mtools/manual/mtools.htmlIntegral
./configure; make info
The texinfo doc looks most pretty when printed or as html. Indeed, in the info version certain examples are difficult to read due to the quoting conventions used in info.