Subject: Re: Mounting Floppies
To: Matthew <mtheobalds@mac.com>
From: Dave Huang <khym@azeotrope.org>
List: port-mac68k
Date: 09/14/2001 16:11:29
On Fri, 14 Sep 2001, Matthew wrote:
> On Friday, September 14, 2001, at 09:12  pm, David Burgess wrote:
> > Short way:  use /dev/rfd0a when mount a floppy.  This is the 'raw'
> > (block) device, rather than the 'cooked' device (which can be as a
> > character-at-a-time device).  Also, unless you are mount an FFS or UFS
> > floppy, you will probably to include a '-t' type flag.  The '-t' will
> > vary depending one what is on the floppy.

Actually, the "raw" device is the character device. Note the "c" in the
first column:
crw-r-----  1 root  operator  43, 2 May 11  1998 /dev/rfd0c

The block device is /dev/fd0*
(note that in /etc/fstab, you have stuff like /dev/sd0a, not
/dev/rsd0a...)

> I checked I had floppy support in the kernel.. and I do.

Your kernel might support floppies, but does it support floppies on
_your_ particular machine? What does your "dmesg" say about it?

> sonic:/usr/src/sys/arch/mac68k/conf# mount -v -t msdos /dev/rfd0b
> ~matthew/floppy
> exec: mount_msdos /dev/rfd0b /home/matthew/floppy
> mount_msdos: /dev/rfd0b on /home/matthew/floppy: Block device required
>
> What do you think the problem is likely to be?

Well, you're still not using the block device, for one thing... but
also, floppy support is limited to 800K DSDD floppies. Most people don't
put MSDOS filesystems on those, so I suspect you're trying to mount a
high density 1.44MB floppy. That won't work...
-- 
Name: Dave Huang         |  Mammal, mammal / their names are called /
INet: khym@azeotrope.org |  they raise a paw / the bat, the cat /
FurryMUCK: Dahan         |  dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 25 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++