Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 07-02-2003, 01:09 PM   #1
LQ Newbie
Registered: Apr 2003
Location: Calgary,AB,Canada
Posts: 9

Rep: Reputation: 0
Question 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 !
Old 07-02-2003, 01:14 PM   #2
Senior Member
Registered: Mar 2003
Location: Pittsburgh, PA
Distribution: Gentoo / NetBSD
Posts: 1,251

Rep: Reputation: 45
i dont think you are supposed to edit /etc/mtab manually...


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mount point /mnt/cdrom does not exist. njbrain Linux - General 4 02-13-2007 08:01 PM
Which /mnt or /dev point is my camera card? krome Linux - General 3 08-15-2005 01:34 AM
How to release /dev/cdorm or mount point (/mnt/cdrom) after doing this : norman68 Linux - Software 3 07-02-2003 07:07 PM
CD problems: /mnt/cdrom and /dev/cdrom okok Linux - Newbie 5 04-09-2003 11:11 AM
My mount point of /dev/hda1(win98) is /mnt/c,but now it says input/output error whepin Linux - General 2 12-20-2001 01:41 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 02:51 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration