How to release /dev/cdorm or mount point (/mnt/cdrom) after doing this :
System redhat8 or redhat9:
step 1: $mount /dev/cdrom step 2: delete the mounted cdrom description such as "/dev/cdrom /mnt/cdrom iso9660 ro,nosuid,nodev 0 0" in file /etc/mtab Now /etc/mtab is like this: /dev/hda2 / ext3 rw 0 0 none /proc proc rw 0 0 usbdevfs /proc/bus/usb usbdevfs rw 0 0 /dev/hda1 /boot ext3 rw 0 0 none /dev/pts devpts rw,gid=5,mode=620 0 0 none /dev/shm tmpfs rw 0 0 step 3: $eject /dec/cdrom Here comes a very wierd situation: The CD has already ejected, but the CDROM icon is still on the desktop, you could still "ls /mnt/cdrom" and see the file names on the previous loaded CD. The system still thinks the CD is still mounted. My question is how to release "/dev/cdrom" or recover the system now ? Thank you so very much ! |
type umount instead of eject
|
It does not work using umount instead of eject, it is not that easy. I think umount watches /etc/mtab first.
|
What are you trying to accomplish? So far, this just looks like a round about, ineffective way of umounting CD.
|
All times are GMT -5. The time now is 09:51 AM. |