Section: dosfstools (8)
mkfs.fat - create an MS-DOS filesystem under Linux
mkfs.fat [-a] [-A] [-b sector-of-backup] [-c] [-l filename] [-C] [-f number-of-FATs] [-F FAT-size] [-h number-of-hidden-sectors] [-i volume-id] [-I] [-m message-file] [-n volume-name] [-r root-dir-entries] [-R number-of-reserved-sectors] [-s sectors-per-cluster] [-S logical-sector-size] [-D drive-number] [-M FAT-media-type] [-v] device [block-count]
mkfs.fat is used to create an MS-DOS filesystem under Linux on a device (usually a disk partition). device is the special file corresponding to the device (e.g /dev/sdXX). block-count is the number of blocks on the device. If omitted, mkfs.fat automatically determines the filesystem size.
:-c <DD CLASS="c2|Check the device for bad blocks before creating the filesystem.:
mkfs.fat can not create boot-able filesystems. This isn't as easy as you might think at first glance for various reasons and has been discussed a lot already. mkfs.fat simply will not support it ;)
More information about fsck.fat and dosfstools can be found at <http://daniel-baumann.ch/software/dosfstools/>.
dosfstools were written by Werner Almesberger <email@example.com>, Roman Hodek <Roman.Hodek@informatik.uni-erlangen.de>, and others. The current maintainer is Daniel Baumann <firstname.lastname@example.org>.
Tutoriais de Tecnologia Web