MTOOLSRC(5) BSD Programmer's Manual MTOOLSRC(5)
NAME
mtoolsrc - format of mtools configuration file
DESCRIPTION
The mtoolsrc files are files consisting of newline separated records
which describe disk devices for use with the mtools package. Each line
consists of the following whitespace separated fields:
drive The single letter drive identifier 'A' - 'Z'.
path The path to the file or device (e.g., /dev/rfd0c).
offset The offset, from the beginning of the device, of the DOS
filesystem.
FAT The FAT table encoding scheme (either 12 or 16 bit).
oflags Any special flags which to pass to open(2).
tracks The number of tracks on the device (Note: this is the
number of tracks not the number of cylinders).
heads The number of heads (tracks/cylinder) on the device.
sectors The number of sectors per track on the device.
Blank lines (lines consisting only of white space) and anything following
a `#' on a line are ignored.
Multiple lines may be used to specify multiple drive geomtries for a sin-
gle drive identifier. If multiple geometries are specified, mtools at-
tempts to initialize the drive with them in the order they are found in
the file. The first one to succeed is used; if none succeed, an error is
returned.
SEE ALSO
mattrib(1), mcd(1), mdel(1), mformat(1), mrd(1), mren(1), mtype(1),
mcopy(1), mdir(1), mlabel(1), mmd(1), mread(1), mwrite(1)
BSDI BSD/386 March 26, 1993 1