Click to See Complete Forum and Search --> : updating fstab... cannot stat dev/cdrom


Nyckelharpa
08-02-2003, 08:50 PM
Well, suddenly I have another fstab related problem. Suddenly after restarting my machine (RH 9) I get this message in the start up [OK] /[FAILED] sequence. WHen the system gets to the Updating fstab line, it does its thing a while and then suddenly I get: "Cannot stat dev/cdrom No such file or device. [FAILED]."

Nothing seems to have changed except that the cd does nothing now. What could be the cause? What could be the rememdy?

My fstab reads:

/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
/dev/sda1 /mnt/usb1 vfat defaults,user,noauto 0 0
/dev/sdb1 /mnt/usbhd vfat defaults,user,noauto 0 0
/dev/sdc1 /mnt/usb2 vfat defaults,user,noauto 0 0
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0

:( :( :(

kly546
08-02-2003, 09:03 PM
It seems somehow /dev/cdrom was deleted.

So create it:

ln -s /dev/hd? /dev/cdrom

where ? is the drive's letter

serz
08-02-2003, 09:12 PM
Try with /dev/hdc.

Nyckelharpa
08-02-2003, 09:12 PM
According to the Gnome Hardware Browser, the CD is located at /dev/scd0. Should I try what you mentioned as this:

ln -s /dev/scd0 /dev/cdrom

??

serz
08-02-2003, 09:16 PM
Yea, that's it. Do that.

kly546
08-02-2003, 09:27 PM
sorry, didn't realize you had a scsi drive

Nyckelharpa
08-02-2003, 09:47 PM
Great! Worked pefectly. Thanks a milliard!

By the way, since I am on this topic, is it safe to change "owner" in the fstab line for the CD to "users"?

thanks.......:cool:

serz
08-02-2003, 09:52 PM
Well, that's on your own...

"owner" will only let the root user to mount the device while "users" let any user.

Nyckelharpa
08-02-2003, 09:57 PM
OK. Just thought it might be handier as it gets to be kind of a bore changing permissions of the files I transfer from CD every time. I will give it a try.

Thanks again! At least I have a CD to worry about again.

Wonder how it got deleted. Hmm...........:)