
mformat | 291
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-t to
The To field.
-z Delete temporary files even if the send fails.
mformat
mformat [options] drive
Format a blank disk in MS-DOS format. See mtools for more infor-
mation about how to handle MS-DOS filesystems. After using
mformat to format a disk, you should use mbadblocks to check for
bad blocks.
Options
The mformat command accepts many of the same options as the
MS-DOS FORMAT command.
-1 Format a single side. Equivalent to -h 1.
-4 Format a 360K double-sided disk. Equivalent to -f 360.
-8 Format with eight sectors per track.
-v [label]
Choose a label for this volume. Maximum length is 11
characters.
-f n
If you are using a floppy disk, use this flag and note the size of
the disk in kilobytes as 160, 180, 320, 360, 720, 1200, 1440,
or 2280. For most relatively recent systems, only the last two
are relevant. If you are not using a floppy, you must use the -h,
-t, or -n flags.
-t n
The number of tracks on the disk.
-h n
The number of heads, or sides, on the disk (either 1 or 2).
-n n The number of sectors per track.
You can also use a number of option flags that are not included in
the MS-DOS version of FORMAT, including:
-F Format as a FAT32 partition.
-S n
Size code. You are defining a sector that is the (n+7)th power
of two.
-X Format as an XDF (OS/2) disk.
-0 rate
Data transfer ...