summaryrefslogtreecommitdiff
path: root/manpages/en/mkfs.fat.8
diff options
context:
space:
mode:
authorJinWang An <jinwang.an@samsung.com>2022-12-26 13:14:06 +0900
committerJinWang An <jinwang.an@samsung.com>2022-12-26 13:14:06 +0900
commit05f436c49d920befd82dc71bc1b66349c56ea92a (patch)
treefe86f0f86a9a16eecf6c16c80c6a6e00774fbf05 /manpages/en/mkfs.fat.8
parente53b870e7ffdd386ebfddb28bc7bb04e97cb1fe1 (diff)
downloaddosfstools-05f436c49d920befd82dc71bc1b66349c56ea92a.tar.gz
dosfstools-05f436c49d920befd82dc71bc1b66349c56ea92a.tar.bz2
dosfstools-05f436c49d920befd82dc71bc1b66349c56ea92a.zip
Imported Upstream version 3.0.22upstream/3.0.22
Diffstat (limited to 'manpages/en/mkfs.fat.8')
-rw-r--r--manpages/en/mkfs.fat.823
1 files changed, 20 insertions, 3 deletions
diff --git a/manpages/en/mkfs.fat.8 b/manpages/en/mkfs.fat.8
index 1df5a3d..6e807e1 100644
--- a/manpages/en/mkfs.fat.8
+++ b/manpages/en/mkfs.fat.8
@@ -19,7 +19,7 @@
.\" can be found in /usr/share/common-licenses/GPL-3 file.
.\"
.\"
-.TH MKFS.FAT 8 2013\-07\-16 3.0.21 "dosfstools"
+.TH MKFS.FAT 8 2013\-07\-19 3.0.22 "dosfstools"
.SH NAME
.B mkfs.fat
\- create an MS-DOS filesystem under Linux
@@ -87,6 +87,14 @@
.I logical-sector-size
]
[
+.B \-D
+.I drive-number
+]
+[
+.B \-M
+.I FAT-media-type
+]
+[
.B \-v
]
.I device
@@ -150,6 +158,11 @@ be stored on the disk, but the file nevertheless will have the
correct size. The resulting file can be copied later to a floppy disk
or other device, or mounted through a loop device.
.TP
+.BI \-D " drive-number"
+Specify the BIOS drive number to be stored in the FAT boot sector.
+This value is usually 0x80 for hard disks and 0x00 for floppy devices
+or partitions to be used for floppy emulation.
+.TP
.BI \-f " number-of-FATs"
Specify the number of file allocation tables in the filesystem. The
default is 2. Currently the Linux MS-DOS filesystem does not support
@@ -163,8 +176,7 @@ between 12, 16 and 32 bit, whatever fits better for the filesystem size.
.BI \-h " number-of-hidden-sectors "
Select the number of hidden sectors in the volume. Apparently some
digital cameras get indigestion if you feed them a CF card without
-such hidden sectors, this option allows you to satisfy them. Assumes
-\'0\' if no value is given on the command line.
+such hidden sectors, this option allows you to satisfy them.
.TP
.I \-i " volume-id"
Sets the volume ID of the newly created filesystem;
@@ -196,6 +208,11 @@ file must not exceed 418 bytes once line feeds have been converted to
carriage return-line feed combinations, and tabs have been expanded.
If the filename is a hyphen (-), the text is taken from standard input.
.TP
+.BI \-M " FAT-media-type"
+Specify the media type to be stored in the FAT boot sector.
+This value is usually 0xF8 for hard disks and has a value from 0xF9
+to 0xFF for floppies or partitions to be used for floppy emulation.
+.TP
.BI \-n " volume-name"
Sets the volume name (label) of the filesystem. The volume name can
be up to 11 characters long. The default is no label.