From: Ben Cox (thoth@uiuc.edu)
Date: 02/23/93


From: thoth@uiuc.edu (Ben Cox)
Subject: Re: mformat
Date: Tue, 23 Feb 1993 07:32:07 GMT

little@qucis.queensu.ca (Scott Little) writes:

>Then I tried
> mformat a:
>all seemed well, but it turns out the resulting disk has a capacity of 1.2M.
>Next I tried
> mformat -h 2 -t 80 -s 18 a:
>resulting in
> mformat: Paramaters not supported
>the error seems to be due to the -s 18 arguemant.
>What gives? Is mformat broken? Or is there some other solution to my
>problem?

The /etc/mtools file specifies what drive letters get assigned to what
drives. The file as supplied in the .99pl4 release specifies a 5.25"
A: drive and a 3.5" B: drive.

Swap the entries (don't forget to change fd0XXXXX to fd1XXXXX and vice
versa!) and you'll be OK.

It may also be useful to specify other drive letters for different
formats, such as different densities in the same drive. I tried to
use the autodetect devices (/dev/fd0 and /dev/fd1) and mtools didn't
like that much, so I defined drive Z: to be a 720k disk in my fd0
drive.

Here's my /etc/mtools file for reference; my system has a 3.5" A:
drive, a 5.25" B: drive and no DOS partitions on the hd.

A /dev/fd0H1440 12 80 2 18 # A: 3 1/2
Z /dev/fd0H720 12 80 2 9 # A: 3 1/2
B /dev/fd1h1200 12 80 2 15 # B: 5 1/4