LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-30-2003, 05:01 AM   #1
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Rep: Reputation: 15
DVD and MPlayer


Everytime I play a dvd on MPlayer, I get a message that /dev/dvd was not found. I can play dvd video files off the dvd but of course I wouldn't get subtitles and the like. How can I mount a dvd on dev so that it would be recognized by MPlayer?
 
Old 06-30-2003, 05:09 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you don't mount dvd's. you just haven't got a /dev/dvd symlink from /dev/hdc or wherever the drive is connected:

ln -s /dev/hdc /dev/dvd
 
Old 06-30-2003, 05:10 AM   #3
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Simply create a symlink to your device..

Assuming your /dev/cdrom (which is a symlink) is pointing to /dev/hdc then:
ln -sf /dev/hdc /dev/dvd

To see where /dev/cdrom is pointing:
ls -l /dev/cdrom

"But Chad, why wouldn't I just symlink to /dev/cdrom?"

Well you could, but it's suggested not to. Symlinks to symlinks is an unwritten no no. However, if you'd like to, it will work.



Cool

Last edited by MasterC; 06-30-2003 at 05:13 AM.
 
Old 06-30-2003, 05:19 AM   #4
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Original Poster
Rep: Reputation: 15
Here's what I got:

[root@localhost root]# ls -1 /dev/cdrom
/dev/cdrom
[root@localhost root]# ln -sf /dev/cdrom /dev/dvd

No output was generated so I'm guessing, like with mounting hdds that it worked. When I clicked on "Open Disc" under MPlayer, it shows "Couldn't open DVD device: /dev/dvd"

I also tried this:

[root@localhost root]# ln -sf /dev/hdc /dev/dvd
[root@localhost root]#

Also got a "Couldn't open DVD device: /dev/dvd"

What am I doing wrong?
 
Old 06-30-2003, 05:22 AM   #5
JC404
Member
 
Registered: Dec 2002
Distribution: Red Hat 9
Posts: 123

Original Poster
Rep: Reputation: 15
It worked! Thanks a lot!

Last edited by JC404; 06-30-2003 at 05:24 AM.
 
Old 06-30-2003, 05:30 AM   #6
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
ls -l is not a one, it's an L

phoenetically:
el es dash el



Cool
 
Old 08-04-2003, 10:13 AM   #7
jazzaficionado
LQ Newbie
 
Registered: Aug 2003
Location: Houston, Texas
Distribution: Debian/Knoppix
Posts: 1

Rep: Reputation: 0
I am using Debian via an installed version of Knoppix onto my hard drive. I have the same problem as JC404. I get a message that /dev/dvd is not found when I try and use mplayer to watch DVDs but I can open and view individual .vob files.

Since I am able to use mplayer to look at invidual .vob files by navigating into /dev/cdrom, I followed MasterC's advice and used ls -l /dev/cdrom to see where it was pointing with the idea of creating a symlink from /dev/dvd to that same location.

When I ran ls -l /dev/cdrom as suggested by MasterC, I got the following reply.

/dev/cdrom -> /dev/scd0

I then tried this:

ln -sf /dev/scd0 /dev/dvd, but I get the same error message that /dev/dvd is not found.

I also tried ln -sf /dev/hdc /dev/dvd, but again I get the same error.

I then used the above command given by MasterC, but changed it to: ls -l /dev/dvd and I got this: /dev/dvd -> /KNOPPIX/dev/dvd

It looks like /dev/dvd is pointing to the location that would be appropriate when running Knoppix from the CD, but now that it is on the hard drive things need to be updated. This should be simple enough, but I'm not exactly sure how to do this. Any ideas?

Thanks.
 
  


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
DVD and Mplayer n17man Linux - Hardware 1 02-20-2005 03:51 PM
mplayer dvd help gdiv Slackware 7 01-24-2005 03:09 PM
MPlayer + DVD Rom Raptor Mandriva 6 03-29-2004 12:09 PM
Mplayer doesn't see my DVD Umbrella Linux - Hardware 11 08-01-2003 11:24 PM
Getting MPlayer to see my DVD prodigycm Linux - Hardware 1 07-06-2003 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:42 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
Open Source Consulting | Domain Registration