Folks,
I'm having a problem mounting a floppy disk in my Sparc10 clone
running Solaris 2.5.1. The command ...
mount -F pcfs /dev/diskette /mnt ...
returns ...
mount: /dev/diskette is already mounted, /mnt is busy,
or allowable number of mount points exceeded.
1. I have tried many versions of the above, using /dev/diskette0,
/dev/fd0[abc], etc, to no avail.
2. I AM_NOT nor is anything else, sitting on the mount point.
3. I have tried many flavors of mount point names.
4. I have opened the permissions wide on the mount point.
5. The floppy disk is not write protected and yes, does have a MSDOS
file system with files on it.
6. I don't understand the significance of /devices/obio, the contents
of which are ...
total 0
brw-rw-rw- 1 root sys 36, 0 May 15 16:30
SUNW,fdtwo@0,700000:a
crw-rw-rw- 1 root sys 36, 0 May 15 16:30
SUNW,fdtwo@0,700000:a,raw
brw-rw-rw- 1 root sys 36, 1 May 15 16:30
SUNW,fdtwo@0,700000:b
crw-rw-rw- 1 root sys 36, 1 May 15 16:30
SUNW,fdtwo@0,700000:b,raw
brw-rw-rw- 1 root sys 36, 2 May 15 16:30
SUNW,fdtwo@0,700000:c
crw-rw-rw- 1 root sys 36, 2 May 16 07:15
SUNW,fdtwo@0,700000:c,raw
crw------- 1 root sys 74, 0 May 15 16:30 profile:profile
crw-rw-rw- 1 root sys 29, 0 May 15 16:30 zs@0,100000:a
crw------- 1 uucp uucp 29,131072 May 15 16:30
zs@0,100000:a,cu
crw-rw-rw- 1 root sys 29, 1 May 15 16:30 zs@0,100000:b
crw------- 1 uucp uucp 29,131073 May 15 16:30
zs@0,100000:b,cu
and some of the contents of /dev ...
lrwxrwxrwx 1 root root 37 May 15 19:21 diskette ->
../devices/obio/SUNW,fdtwo@0,700000:c
lrwxrwxrwx 1 root root 37 May 15 19:21 diskette0 ->
../devices/obio/SUNW,fdtwo@0,700000:c
dr-xr-xr-x 2 root root 416 May 16 10:30 fd
lrwxrwxrwx 1 root root 4 May 15 19:24 fd0 -> fd0c
lrwxrwxrwx 1 root root 37 May 15 19:24 fd0a ->
../devices/obio/SUNW,fdtwo@0,700000:a
lrwxrwxrwx 1 root root 37 May 15 19:24 fd0b ->
../devices/obio/SUNW,fdtwo@0,700000:b
lrwxrwxrwx 1 root root 9 May 15 19:24 fd0c ->
diskette0
7. I have tried futzing with the /etc/vfstab file, the contents of
which are ...
fd - /dev/fd fd - no -
/dev/diskette - /mnt pcfs - no rw
/proc - /proc proc - no -
/dev/dsk/c0t3d0s1 - - swap - no -
/dev/dsk/c0t3d0s0 /dev/rdsk/c0t3d0s0 / ufs 1
no -
/dev/dsk/c0t3d0s6 /dev/rdsk/c0t3d0s6 /usr ufs 1
no -
/dev/dsk/c0t3d0s4 /dev/rdsk/c0t3d0s4 /var ufs 1
no -
/dev/dsk/c0t3d0s7 /dev/rdsk/c0t3d0s7 /export/home ufs
2 yes -
/dev/dsk/c0t3d0s5 /dev/rdsk/c0t3d0s5 /opt ufs 2
yes -
/dev/dsk/c0t3d0s3 /dev/rdsk/c0t3d0s3 /usr/openwin ufs
2 yes -
/dev/dsk/c0t2d0s2 /dev/rdsk/c0t2d0s2 /ibm ufs 3
yes -
/dev/dsk/c0t1d0s0 /dev/rdsk/c0t1d0s0 /dilbert ufs 4
yes -
/dev/dsk/c0t1d0s1 /dev/rdsk/c0t1d0s1 /dogbert ufs 4
yes -
swap - /tmp tmpfs - yes -
8. The machine is new (used). I've just installed 2.5.1 and have not
changed much. It was previously running SunOS 4.1.4 and I didn't check
floppy functionality prior to upgrading.
9. I didn't install the Maintenance Upgrade for 2.5.1. Is that
significant?
Any help would be greatly appreciated.
TIA, Bill ...
bi...@dogcreek.nospamplease.com
When replying via email, please remove the nospamplease from the email
address.
Accessing the floppy drive is totally different in Solaris vs. SunOs.
Easiest way is to use the "filemgr" GUI to mount the floppy for you (hit
the "Check for floppy" button) if you have an X session going.
If not, then you need to have volume management going - type
"/etc/init.d/vold start". After that get system to check for the floppy
by running "volcheck floppy". You access the floppy in /floppy/floppy0
usually.
Shane O'Neal
USAA Midrange Server Management
(210) 913-8554
Or, less drastic would be
/etc/init.d/volmgt stop
You don't have to reboot after that command, and you can restart volmgt
by running the command again replacing the "stop" with "start"
Either one of those will allow your mount command will work.
P.S. if you try and mount a write protected floppy you will need a
"-o ro" after the -F
--
Steve Woodard (716)-588-2069
Pager (716)-975-3984
Optical Storage Products 1/800/KP
Internet: woo...@kodak.com
: Or, less drastic would be
: /etc/init.d/volmgt stop
: You don't have to reboot after that command, and you can restart volmgt
: by running the command again replacing the "stop" with "start"
Why stop volmgt entirely? It is very useful, but not for floppy disks.
Just comment out the line
#use floppy drive /dev/rdiskette[0-9] dev_floppy.so floppy%d
in /etc/vold.conf, then restart volmgt:
sh /etc/init.d/volmgt stop; sh /etc/init.d/volmgt start
Daniel