mkdosfs: by default align all structures to cluster boundaries
Align all data structures (reserved sectors, FATs, root directory for FAT12/16) to an even multiple of the cluster size. This means that if the partition is aligned, so will all clusters be. This adds significant performance for anything where the physical sector size is larger than the logical sector size, e.g. flash media or large-sector hard disks. Signed-off-by: Daniel Baumann <mail@daniel-baumann.ch>
This commit is contained in:
committed by
Daniel Baumann
parent
171bc07b0c
commit
247ba068d4
@@ -6,6 +6,9 @@
|
||||
.SH SYNOPSIS
|
||||
.B mkdosfs|mkfs.msdos|mkfs.vfat
|
||||
[
|
||||
.B \-a
|
||||
]
|
||||
[
|
||||
.B \-A
|
||||
]
|
||||
[
|
||||
@@ -82,6 +85,14 @@ is the number of blocks on the device. If omitted,
|
||||
automatically determines the file system size.
|
||||
.SH OPTIONS
|
||||
.TP
|
||||
.B \-a
|
||||
Normally, for any filesystem except very small ones, \fBmkdosfs\fP
|
||||
will align all the data structures to cluster size, to make sure that
|
||||
as long as the partition is properly aligned, so will all the data
|
||||
structures in the filesystem. This option disables alignment; this
|
||||
may provide a handful of additional clusters of storage at the expense
|
||||
of much performance on flash media or large-sector hard disks.
|
||||
.TP
|
||||
.B \-A
|
||||
Use Atari variation of the MS-DOS file system. This is default if
|
||||
\fBmkdosfs\fP is run on an Atari, then this option turns off Atari
|
||||
|
||||
Reference in New Issue
Block a user