thedark Second Lieutenant
Joined: 30 Jul 2005
Posts: 1074
|
Posted: Sun Jul 31, 2005 8:07 am Post subject: Solaris > Forcefully unmount the cdrom/floppy disk |
|
|
1) Use the fuser command to see who is accessing your device:
(For example if someone has opened file on CDROM)
# vi /cdrom/cdrom0/somefile.txt
(Press CTRL + Z)
# eject cd
# fuser –u /cdrom/cdrom0
2) Kill the process-accessing device:
# cd /
# fuser –k /cdrom/cdrom0
# eject cd |
|