[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mount command



Hi I have a couple of questions of OpenBSD's mount command, but
this might not be particularly OpenBSD's issue.

I just installed OpenBSD3.2 on my Labtop PC, which doen't have
FD drive in it, so I plug the optional FD drive in the USB
port.  OpenBSD detects the device without any problem and when I
#dmesg, it shows

sd0 at scsibus0 targ 1 lun 0: < Y-E DATA, USB-FDU, 4.01> SCSI0 0/direct
removable
sd0: drive offline

When I mount the FD disk, I do

#mount -a /dev/sd0a /mnt/floppy

like other people do. -a option varies depending on file systems, of course.

Here is my question.
How do I know which one of /dev/sd0s is my FD device?
When I see /dev directory, I have /dev/sd0a to /dev/sd0a to /dev/sd4p.
I usually try /dev/sd0a first, but somehow it doesn't work and
need to try /dev/sd0b.  Isn't it supposed to be assigned statically?
Or dynamically changes?
Because, after I mount a BSD formatted floppy disk, like
#mount -a /dev/sd0a /mnt/floppy

I can't mount a DOS formatted floppy disk with /dev/sd0a.
I have an error message, like
#mount -t msdos /dev/sd0a /mnt/floppy
mount_msdos: /dev/sd0a on /mnt/floppy: Device not configured

But it mounts when I mount in /dev/sd0c.

Am I missing or misunderstanding something here?

Yoshi



________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________



Visit your host, monkey.org