LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I change where /dev/dvd is pointing? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-change-where-dev-dvd-is-pointing-194951/)

iab941 06-18-2004 08:18 AM

How can I change where /dev/dvd is pointing?
 
I have change my computer conf. from:

IDE1 MASTER -> CD writer
IDE1 SLAVE -> DVD reader

to:

IDE1 MASTER -> DVD writer
IDE1 SLAVE -> CD writer

/dev/dvd is pointing (remembering because I'm writting from job) to ..../bus1/..../target1/...... but I think it must be pointing to ..../bus1/...../target0/....

How can I change it?

TIA.

IAB.

Tuttle 06-18-2004 08:37 AM

if you are using "cdrecord" then the link won't matter, as the pseudo scsi (sg_mod + sr_mod) will find it (try "cdrecord -scanbus"). If you are talking about reading, log in then try this:

su
[password]
ln -sf /dev/hdc (or try "/dev/sr0") /dev/dvd
ln -sf /dev/hdd (or try "/dev/sr1")/dev/cdrom
exit

this will create the appropriate links for your multimedia software. You could also link "/dev/cdrom" to the dvd drive if you wish, it won't hurt anything, you just won't be able to play cd's and dvd's at the same time!!

iab941 06-18-2004 08:46 AM

Thank you.

I will try it this night.

IAB


All times are GMT -5. The time now is 02:02 PM.