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

[Sheflug] Broken Sym Link (was Unknown device under RH7.2)



This seems to be the relevent part of /etc/devfsd.conf refering to the cdroms

 #
# Uncomment this if you want the old /dev/cdrom symlink
# (e.g. those specifying CD-ROM type, mouse port, modem port etc)
#
LOOKUP		^cdrom$		CFUNCTION GLOBAL symlink cdroms/cdrom0 $devpath
REGISTER	^cdroms/cdrom0$	CFUNCTION GLOBAL symlink cdroms/cdrom0 cdrom
UNREGISTER	^cdroms/cdrom0$	CFUNCTION GLOBAL unlink cdrom

I have checked out /dev/ and find
cdrom was a file of unknown type linked to /dev/cdroms/cdrom0 since reboot it is now a block device but with the wrong icon and permissions of rwxrwxrwx
/dev/cdrom0 and /dev/cdrom2 are both block devices linking to /dev/cdroms/cdrom0  with file permission of rw
/dev/cdrom1 is a block device linking to /dev/cdroms/cdrom1  with file permission of rw

Ignore my problems ejecting the disk there was another device accessing it and I didn't notice DOH
--

On Sun, 30 Dec 2001 13:24:49   richard davies wrote:
>
>
>I have been following this discussion with interest 
>and tried ls -l /dev/cdrom* to see what my system said result is /dev/cdrom -> ../cdroms/cdrom0 in white text flashing on a red background
>
>[root@mybox cdrom1]# ls -l /dev/cdrom*
>lr-xr-xr-x    1 root     root           16 Dec 30 16:47 /dev/cdrom -> ../cdroms/cdrom0
>lr-xr-xr-x    1 root     root           13 Dec 26 14:08 /dev/cdrom0 -> cdroms/cdrom0
>lr-xr-xr-x    1 root     root           13 Dec 26 14:08 /dev/cdrom1 -> cdroms/cdrom1
>lr-xr-xr-x    1 root     root           13 Dec 30 15:55 /dev/cdrom2 -> cdroms/cdrom0
>
>/dev/cdroms:
>total 0
>lr-xr-xr-x    1 root     root           33 Jan  1  1970 cdrom0 -> ../ide/host0/bus1/target1/lun0/cd
>brw-------    1 richard  cdrom     11,   0 Nov 11 12:01 cdrom1
>
>Attempting to unmount the drive gives.
>
>[root@mybox cdrom1]# umount /dev/cdrom
>umount: /dev/cdrom: not found
>
>This is odd as I can look at the disk in the drive but I can't eject it. I don't know what I have done to the system as it was working fine to burn CDs yesterday.
>
>Regards
>
>Richard
>
>
>Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com
>___________________________________________________________________
>
>Sheffield Linux User's Group - http://www.sheflug.co.uk . 
>To unsubscribe from this list send mail to 
>shef-lug-request [at] list.sheflug.org.uk with the word
>"unsubscribe" in the body of the message. 
>
>  GNU the choice of a complete generation.
>


Join 18 million Eudora users by signing up for a free Eudora Web-Mail account at http://www.eudoramail.com
___________________________________________________________________

Sheffield Linux User's Group - http://www.sheflug.co.uk . 
To unsubscribe from this list send mail to 
shef-lug-request@list.sheflug.org.uk with the word
"unsubscribe" in the body of the message. 

  GNU the choice of a complete generation.