View previous topic :: View next topic |
Author |
Message |
gcasillo l33t
Joined: 23 Sep 2003 Posts: 739 Location: Cincinnati, Ohio, USA
|
Posted: Fri Jul 08, 2005 2:07 am Post subject: /dev/dvd gone missing |
|
|
I recently updated via emerge world -u. Now, I have no /dev/dvd. I am running udev-062 and gentoo-sources-2.6.12-r4. Worked before, but doesn't now. Any ideas? |
|
Back to top |
|
|
solszew n00b
Joined: 04 Apr 2004 Posts: 43
|
Posted: Fri Jul 08, 2005 2:25 am Post subject: |
|
|
With both udev and devfs, /dev/dvd is just a link to the actual device at /dev/ide/<something>. For instance, if I do a `ls -l /dev/dvd` on my box, i get:
Code: | bitbucket proc # ls -l /dev/dvd
lr-xr-xr-x 1 root root 35 Jun 1 02:21 /dev/dvd -> /dev/ide/host0/bus1/target1/lun0/cd |
Look around in the /dev/ide directory and see if you can figure it out. If not, have a look in the /proc/ide directory. Each drive in this directory has a "model" file that can be used to determine which device is which. Once you know which /dev/ide/* device is your dvd drive, you can create a link by doing this:
Code: | ln -s /dev/ide/host0/bus1/target1/lun0/cd /dev/dvd |
...of course, you shoudn't use that exact command unless your dvd drive is at the same host/bus/target/lun location as mine.
Good luck!
Steve |
|
Back to top |
|
|
gcasillo l33t
Joined: 23 Sep 2003 Posts: 739 Location: Cincinnati, Ohio, USA
|
Posted: Fri Jul 08, 2005 2:30 am Post subject: |
|
|
Thanks for the reply. Looks like I got the symlink back by uncommenting out a line in /etc/udev/cdsymlinks.conf. That config file is new to me. I have a symlink, /dev/dvd, pointing to /dev/hdc. The permissions on /dev/hdc are root:root 660. They should be root:cdrom 660 according to my udev permissions file. I don't get it.
Damned udev. |
|
Back to top |
|
|
ph03n1x l33t
Joined: 06 Feb 2003 Posts: 756
|
Posted: Sun Jul 10, 2005 11:16 am Post subject: |
|
|
Afaik udev doesn't use the permissions file anymore in newer versions.
It all depends on the rules...
hth |
|
Back to top |
|
|
|