LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-06-2004, 10:51 AM   #1
edM
Member
 
Registered: Nov 2003
Location: U.K.
Distribution: Slackware-12
Posts: 137

Rep: Reputation: 15
DVD-ROM prob with links


i am trying to get my DVD-ROM to work, it is detected at the boot up as hdd.

but when i looked up /dev/dvd it points to hdc, which is the CDROM (/dev/cdrom points to /dev/hdc as well).

i tired to change the sym link of the /dev/dvd

ln -s /dev/dvd /dev/hdd
ln `/dev/hdd` : File exists # this what i got back and the link didnt change

i then tried:

ln -sf /dev/dvd /dev/hdd

and it now says /dev/hdd : broken sym link to /dev/dvd ( this should not point there, but to something like: block special (22/0)

and /dev/dvd : broken sym link to /dev/hdd

how can i fix the links so that : /dev/dvd points to /dev/hdd

and

/dev/hdd points to : block special ( / ) ?

thanks
 
Old 07-06-2004, 11:08 AM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
Well you just have broken your dev node

The correct syntax for ln is :
ln -s <SOURCE> <DESTINATION>

So if you want to link dvd to hdd you use :
# delete the old link
rm /dev/dvd
# link the file
ln -s /dev/hdd /dev/dvd

now you have to rm your broken node first :
rm /dev/hdd

and recreate it :
mknod /dev/hdd b 22 64

change permissions :
chmod 660 /dev/hdd
chown root:disk /dev/hdd
 
  


Reply



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
FC4 shows dvd-rw as cd-rom and cd-rom as cd-rw hjshah Linux - Hardware 1 10-03-2005 05:40 AM
permission denied! floppy cd-rom dvd-rom HELP! OMEGA-DOOM Linux - Software 17 10-15-2004 05:40 PM
DVD-ROM/CD-ROM unable to recognize debain boot CD gottfried Linux - Newbie 2 01-20-2004 12:39 PM
how to add cd-rom, dvd-rom, floppy, hard disk icons on gnome desktop? spyghost Linux - Software 6 09-21-2003 05:44 PM
DVD-ROM not detected CD-RW mistaken as CD-ROM Device DarkXtar Slackware 21 06-02-2003 07:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:12 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