If you try to eject a floppy using the eject command on a
Solaris system, but receive a "Device busy" message, you can
just push the button to eject the media, but if you make changes
to the diskette and then reinsert it or another one,
the system may show the contents of the original diskette
and not the contents of the new one when you use ls or try
to access files on the new diskette. The Volume Manager may
be preventing you from unmounting the diskette, in which case
you need to stop it before issuing the eject command. Use
/etc/init.d/volmgt stop
to stop the Volume Manager.
Then use the eject
command to unmount the diskette.
You can then physically eject it with the eject button. You can
then restart the Volume Manager with /etc/init.d/volmgt start
as shown below. When you put a new floppy disk in the drive, you can mount
it with the volcheck
command. You will need to stop and
start the Volume Manager from the root account.
# eject floppy
/vol/dev/diskette0/unnamed_floppy#6: Device busy
# /etc/init.d/volmgt stop
# eject
/dev/rdiskette can now be manually ejected
# /etc/init.d/volmgt start
volume management starting.
Tested on Solaris 7