LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 03-19-2004, 08:07 PM   #1
Falcon006
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware
Posts: 8

Rep: Reputation: 0
Question symbolic linking dvd-rom to /dev/dvd ?


I'm not sure I am using the right term 'symbolic link'. I just basically want my dvd-rom (/dev/hdd) to also be (/dev/dvd). Also, the /dev/dvd is already link to something else. What is the commands to unlink /dev/dvd? And the command to link my /dev/hdd to /dev/dvd?
 
Old 03-19-2004, 08:13 PM   #2
Komakino
Senior Member
 
Registered: Feb 2004
Location: Somerset, England
Distribution: Slackware 10.2, Slackware 10.0, Ubuntu 9.10
Posts: 1,938

Rep: Reputation: 54
do
Code:
ls -l *dvd*
to find out what dvd is currently linked to. Then to create a new link:
Code:
ln -sf /dev/hdd /dev/dvd
the -f means 'force' (i.e. forcibly remove old link)
 
Old 03-19-2004, 08:13 PM   #3
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
su #to become root
rm -f /dev/dvd #to delete /dev/dvd
ln -s /dev/hdd /dev/dvd #to make the new symbolic link
 
Old 03-20-2004, 01:57 AM   #4
Falcon006
LQ Newbie
 
Registered: Mar 2004
Distribution: Slackware
Posts: 8

Original Poster
Rep: Reputation: 0
thank you
 
  


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
ln: creating symbolic link `/dev/dvd' to `/dev/hdc': Permission denied qazwsx27 Fedora 3 06-14-2005 03:09 PM
dvd-rom drive won't play movies and dvd burner won't record calble Linux - Hardware 1 08-09-2004 08:35 AM
DVD-ROM on /dev/hdc Impaler Linux - Hardware 2 04-04-2004 07:03 AM
combo rom won't read/play dvd, no ans from dvd-howto sirpelidor Linux - Hardware 0 12-22-2003 12:20 PM
my dvd rom is dev/cdrom ! biggyfries Linux - Hardware 5 08-01-2003 07:59 PM


All times are GMT -5. The time now is 10:19 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration