[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Can't read my cdrom...



alan brown wrote:

I’ve looked through previous posts on this topic and the advice I found was to run dmesg | grep cdrom to find out where my cdrom is plugged in (hdb) and I tried symlinking /dev/dcrom to /dev/hdb. However, in the course of my experimenting I did rm –rf on the /cdrom directory, which I believe was where my cd drive was mounted. And I’m not sure what I need to do next to get things back in order.

The /etc/fstab file states that /dev/cdrom is mounted on /cdrom but I’m not sure what to do to get it re-mounted (if indeed it is unmounted)

Any help would be appreciated. My problem is high level enough that I’ve not been very effective with my google searches.


Er, I'm not sure what level you're at so forgive me if I state the obvious or miss your point...

/cdrom is just a directory like any other, you can just recreate it using
mkdir /cdrom

The /etc/fstab file just says where things should be mounted, not where they are mounted. To actually mount a CD, when you put a new one in the drive, the command is
mount /dev/cdrom /cdrom

Then
umount /cdrom
when you remove it.
You may need to be root to run these. I guess the various GUIs have a means of doing these things too... Not sure about that though.

Hope that helps

Chris




Reply to: