Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
/dev/dvd gone missing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 739
Location: Cincinnati, Ohio, USA

PostPosted: Fri Jul 08, 2005 2:07 am    Post subject: /dev/dvd gone missing Reply with quote

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
View user's profile Send private message
solszew
n00b
n00b


Joined: 04 Apr 2004
Posts: 43

PostPosted: Fri Jul 08, 2005 2:25 am    Post subject: Reply with quote

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
View user's profile Send private message
gcasillo
l33t
l33t


Joined: 23 Sep 2003
Posts: 739
Location: Cincinnati, Ohio, USA

PostPosted: Fri Jul 08, 2005 2:30 am    Post subject: Reply with quote

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
View user's profile Send private message
ph03n1x
l33t
l33t


Joined: 06 Feb 2003
Posts: 756

PostPosted: Sun Jul 10, 2005 11:16 am    Post subject: Reply with quote

Afaik udev doesn't use the permissions file anymore in newer versions.

It all depends on the rules...

hth
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum