Subject: Re: mtools
To: Tom Swiss <tms@tis.com>
From: Rob Windsor <windsor@punk.hedgehog.com>
List: netbsd-help
Date: 01/15/1996 23:55:14
Verily did Tom Swiss write:
> I'm running 1.1 on a generic 486 box with two floppies; A: is a 3.5,
> B is a 5.25", both high density. I can't seem to get mtools running. I keep
> getting
> ./mdir: Cannot initialize 'A:'
> This is what I have for devices.c:
> struct device devices[] = {
> {'A', "/dev/rfd0a", 0L, 12, 0, (int (*) ()) 0, 80, 2, 18},
> {'A', "/dev/rfd0e", 0L, 12, 0, (int (*) ()) 0, 80, 2, 9},
^^^^^^
> {'B', "/dev/rfd1b", 0L, 12, 0, (int (*) ()) 0, 80, 2, 15},
> {'B', "/dev/rfd1c", 0L, 12, 0, (int (*) ()) 0, 40, 2, 9},
> {'\0', (char *) NULL, 0L, 0, 0, (int (*) ()) 0, 0, 0, 0}
> };
> I've also tried "/dev/fd..." instead of "/dev/rfd...", but no luck. Any
> ideas?
You might try changing that to rfd0f instead (as per an -old- piece of
e-mail from mycroft). If this has changed, I'd like to know (so that I can
fix my mtools)
Also, I'm assuming you applied the fixes to various appearences of lseek().
The FreeBSD patch works, and mine is available at
http://www.warped.com/~windsor/netbsd/install-notes/i386/mtools-2.0.7.html
No idea what the 5.25" specifications are, I just don't bother.
Now, this brings up another question for me...
-where- in the source/manpages can one verify this? sys/arch/i386/isa/fd.c
isn't helpful (other than the fact that I noticed what appears to be a typo..
"720kB in 1.2MB drive" would be rough given typical floppy sizes/formats).
-- Rob
----------------------------------------
Internet: windsor@pobox.com Life: Rob@Sunnyvale.California.USA.Earth
"Da Web": http://pobox.com/~windsor/
"Ain't much distance 'tween a pat on the back and a kick in the pants."
-- David Lee Roth (1990), `The Dogtown Shuffle'