LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 09-21-2003, 10:42 AM   #1
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Rep: Reputation: 101Reputation: 101
set up DVD drive symbolic links


I recently installed Debian using a Knoppix CD and upgrading using apt-get. The computer has a CD/RW drive and a DVD drive. The CD/RW drive works, but DVD drive does not. If I type "ls -al /dev/dvd" I get "/dev/dvd -> /KNOPPIX/dev/dvd". This is obviously incorrect, and I think may be the root of the problem. My questions are:

1) How do you correctly remove the current symbolic link and replace it with the correct symbolic link?

2) How do I tell what a device is under Linux? For example, I know /dev/hda/ is my hard drive, but how do I tell what my DVD drive is? How do I know if the DVD should be /dev/sda, /dev/scd, /dev/hdb, etc.?

If it helps at all, the CD/RW is IDE master and DVD is IDE slave.
 
Old 09-21-2003, 01:37 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 68
sc devices are SCSI and hd devices are IDE:
IDE0 Master = hda
IDE0 Slave = hdb
IDE1 Master = hdc
IDE1 Slave = hdd

To hcange the symlink you can use:
rm /dev/dvd
ln -s /dev/dvd /dev/hdd

This is assuming it is on the secondary channel - you may need to change that.
 
Old 09-21-2003, 01:58 PM   #3
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Original Poster
Rep: Reputation: 101Reputation: 101
Thanks for the explanation. I have one more question. Under what circumstances should you use /dev/scd1 (my CD/RW is /dev/scd0) instead of /dev/hdd?

I actually got it working just 2 minutes before reading your reply using:

rm -f /dev/dvd/
ln -s /dev/scd1 /dev/dvd

I can now play DVDs on mplayer. Should I change it to /dev/hdd?
 
Old 09-21-2003, 02:01 PM   #4
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 68
No not if it is SCSI - leave it how it is.
 
Old 09-22-2003, 06:50 AM   #5
m_yates
Senior Member
 
Registered: Aug 2003
Location: Upstate
Distribution: Debian, Mint, Mythbuntu
Posts: 1,249

Original Poster
Rep: Reputation: 101Reputation: 101
Thanks again for the information. The CD/RW is an IDE drive with SCSI emulation. I assume the DVD drive is the same with the way I set it up. Since it is working, I'll leave it alone. "If it's not broke, don't fix it." (I have a problem remembering that sometime)
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Symbolic links? TongueTied Linux - Newbie 3 08-27-2003 06:00 AM
Symbolic Links petercool Linux - General 2 08-20-2003 11:15 AM
Symbolic links pdstatha Programming 1 04-08-2002 09:50 PM
symbolic links winger Linux - General 5 04-06-2002 05:16 PM
symbolic links NoahsMyBro Linux - Newbie 1 11-16-2001 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration