PDA

View Full Version : unmounting



simple
12-27-2002, 12:25 AM
I run Knoppix from my dvd/cd player. I put another cd in my cd burner; read what I was looking for, and then tried to unmount/eject. On the desktop I right clicked on the icon and then "eject". Nothing hapened.
In the K menu there was, under system, a Kdisk program with mount/unmount options. Nothing happened.
All the linux books warn that one must unmount before trying to eject a cd.
How?
Thanks
(I logged out and shut the whole OS down. It still didn't eject on its own)

Tech2k
12-27-2002, 11:30 AM
Try "umount /dev/cdrom" or "umount /dev/cdrom1"

Dave_Bechtel
12-27-2002, 07:13 PM
--Don't forget, you should be Root for ALL sys-admin stuff, such as this...

--Also try:
' eject /dev/scd1 ' or
' eject /dev/hdc ' or hdd (hdc is 2nd IDE Master, hdd is 2nd IDE Slave.)

--If that fails, try:
' lsof | grep /dev/cdrom | less ' == You may have to kill the process that is holding the device, and then eject it.

--NOTE: Any process that has an active "cd" to a directory on the mounted filesystem should either cd back to their home dir or root, or they will have to be killed before you can umount the filesystem.

--If for example you have the knoppix user or root cd'ed to /mnt/cdrom/blah, you have to have them ' cd ' or ' cd / ' which will take them to "~" (/home/userID) or to root, respectively.


Try "umount /dev/cdrom" or "umount /dev/cdrom1"

mpeters13
12-18-2003, 08:21 PM
I tried that, and I still get the "device is busy" error message. Is there anyway to force the media out? (Without using a paper clip?)