Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Optical device names
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
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1745

PostPosted: Sun Oct 28, 2007 1:33 am    Post subject: Optical device names Reply with quote

I have yielded to the inevitibility of libata and taken ata (ide) support out of my most recent kernel.

After changing fstab and grub.conf, things seem to work fine, except for one small thing.

Instead of /dev/cdrom and /dev/dvd (which used to point to /dev/hdc), I now have /dev/cdrom1 and /dev/dvd1 (which now point to /dev/sr0).

This doesn't seem too helpful (in fact, it breaks a lot of programs expecting to find /dev/cdrom and /dev/dvd). Can somone explain the rationale for using different device names, and possibly suggest a way to have udev give them the previous names?

As a side question, it seems I can no longer longer control things like DMA through hdparm. Does libata enable these features automatically or have I just destroyed my hard drive performance?

Thank you in advance for your help.
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1235
Location: Massachusetts USA

PostPosted: Sun Oct 28, 2007 3:41 am    Post subject: Reply with quote

To fix the cdrom and dvd names delete the file /etc/udev/rules.d/70-persistent-cd.rules. It will be regenerated when you re-boot the computer.
Back to top
View user's profile Send private message
curmudgeon
Veteran
Veteran


Joined: 08 Aug 2003
Posts: 1745

PostPosted: Mon Nov 05, 2007 2:01 am    Post subject: Reply with quote

That worked great. Thank you.
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