sun官方解决方法 CD-ROM and floppy disk devices are not mounting on the Solaris OE. What could be the reason? vold is the daemon that should be running on your system to allow CD-ROMs and floppies to mount automatically. For the floppy mount process you must type volcheck after inserting the floppy; it is more semi-automatic. The CD-ROM should mount by itself after a few seconds (10-15). The great killer of vold is WABI. WABI and vold cannot be run at the same time. If you have ever run WABI on your system, check this first: more /etc/vold.conf Look for the following section (this is the way it should look to work): # Devices to use use cdrom drive /dev/rdsk/c*s2 dev_cdrom.so cdrom%d use floppy drive /dev/rdiskette[0-9] dev_floppy.so floppy%d Make sure the floppy line is uncommented. If you change this file, make sure you stop then restart vold to make the change takes effect. The directories /cdrom and /floppy should be empty. Eject the CD-ROM or floppy and check the /floppy or /cdrom directory. If it is not empty, you probably had remnants of something that was mounted in the past. Remove the remnants.
Insert a CD-ROM or floppy. For a floppy ONLY type: % volcheck
Did it mount the CD-ROM or Floppy? % cd /cdrom OR % cd /floppy % ls -la Look for the link that vold creates: For floppies: lrwxrwxrwx 1 root nobody 16 Dec 18 13:50 floppy0 -> ./unnamed_floppy/ drwxrwxrwx 3 nobody nobody 512 Dec 18 09:10 unnamed_floppy/ For CD-ROMs: lrwxrwxrwx 1 root nobody 15 Dec 18 13:50 cdrom0 -> ./disksuite_4_0/ dr-xr-xr-x 2 root sys 2048 Oct 25 1995 disksuite_4_0/ If the link is not there, vold did not mount it.
Does it mount manually? STOP vold first: % /etc/init.d/volmgt stop For CD-ROM: % mount -F hsfs -o ro /dev/dsk/c0t6d0s0 /cdrom % ls -la /cdrom Is it there now? For floppies it's trickier. You need to know several things about the floppy:
Is there a filesystem on it? What kind of filesystem? pcfs or ufs?
To read the same floppy on different system, follow the steps below on the system on which you wish to read floppy: Ok, % mount -F ufs /dev/diskette0 /floppy Or, % mount -F pcfs /dev/diskette0 /floppy % ls -la /floppy Is it there now?
Will it still not mount? Try different media. For CD-ROMs be sure to use a Sun CD-ROM. If your CD-ROM uses a caddy, try another caddy. For a floppy, try another one, such as a free commercial PC floppy that arrives in the mail. (That would be pcfs, of course.)