Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Multimedia
  • Search

Playing DVD

Help with creation, editing, or playback of sounds, images, or video. Amarok, audacious, mplayer, grip, cdparanoia and anything else that makes a sound or plays a video.
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
Shienarier
Apprentice
Apprentice
Posts: 278
Joined: Mon Jun 16, 2003 10:51 pm

Playing DVD

  • Quote

Post by Shienarier » Sun Nov 30, 2003 1:09 pm

I am trying to get mu DVD installed in Linux and i have a few questions.

For starters i don't seem to have an /dev/dvd.
Do you make that one yourself?

Second, those /dev/cdroms, what do they do/what are they good for?

And lastly, what do i write in /etc/fstab?
Top
QPegasus
n00b
n00b
User avatar
Posts: 42
Joined: Sat Sep 27, 2003 10:58 pm

  • Quote

Post by QPegasus » Sun Nov 30, 2003 3:01 pm

If you're using Xine, in the input > dvd device, just set it to either /dev/cdroms/cdrom0 or /dev/cdroms/cdrom1, depending on which one is the DVD drive.

You could create a symlink if you want though, and link /dev/dvd to either of those.

mkdir /dev/dvd
ln -s /dev/cdroms/cdrom0 /dev/dvd
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56086
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Nov 30, 2003 3:09 pm

Shienarier,

You make /dev/dvd as a symlink to your real DVD device or you point the program to your real DVD in its setup.

/dev/cdroms contains symlinks to your real CDROM (and DVD devices) one of these (if you have more than one) will point to the real device.

What goes into /etc/fstab depends on how you want to solve your problem. If its playing DVDs, they are not normally mounted to be played.

Heres what I have.
/dev/cdroms/cdrom0 /mnt/dvd iso9660,udf noauto,ro,users 0 0
I have a mount point called /mnt/dvd, which normally gets /dev/cdroms/cdrom0 mounted on it. The system will try iso9660 and udf filesystems before complaining about the type. the filesystem is not automatically mounted at boot, its read only and users are allowed to mount cds and dvds. It is never dumped (backed up)

Regards,

NeddySeagoon
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Shienarier
Apprentice
Apprentice
Posts: 278
Joined: Mon Jun 16, 2003 10:51 pm

  • Quote

Post by Shienarier » Sun Nov 30, 2003 3:59 pm

Thanks, now i know more.

But i still wonder if there is any differens in using say /dev/cdroms/cdrom0 and /dev/hdc (both seem to be my DVD). Is the fist just a link to the last?
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56086
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Nov 30, 2003 4:15 pm

Shienarier,

When you do ls --color /dev the colours provide useful info.
The dark blue, like cdroms are directories. The pale blue (cyan or magenta?) entries that are difficult to read are symbolic links to other things and the yellow text against a black background are the real device files.

You should avoid chains of symlinks, since they cost a disc read for every one in a chain.

You can follw the chain manually by doing ls -al /dev/hdc, which will show you where /dev/hdc points, then reapeting with the destination of the link.

Regards,

NeddySeagoon
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
sr20seth
n00b
n00b
Posts: 55
Joined: Tue Nov 04, 2003 8:10 pm
Location: Carrollton, VA
Contact:
Contact sr20seth
Website

  • Quote

Post by sr20seth » Sun Nov 30, 2003 4:15 pm

I wont answer your question, but I will tell you how to find out.

#ls -lh

that will show you the links:

cd /dev
ls -lh hdc
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56086
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sun Nov 30, 2003 4:18 pm

sr20seth,

You learn something every day. I didn't know about the -h switch before.

Thanks,

NeddySeagoon
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
Shienarier
Apprentice
Apprentice
Posts: 278
Joined: Mon Jun 16, 2003 10:51 pm

  • Quote

Post by Shienarier » Sun Nov 30, 2003 6:03 pm

ls -al /dev/hdc
lr-xr-xr-x 1 root root 30 Nov 30 17:06 /dev/hdc -> ide/host0/bus1/target0/lun0/cd

ls -lh /dev/hdc
lr-xr-xr-x 1 root root 30 Nov 30 17:06 /dev/hdc -> ide/host0/bus1/target0/lun0/cd

The commands seem to give me the exact same response.
And none points to the /dev/cdroms/cdrom0
Top
b-llwyd
Guru
Guru
User avatar
Posts: 302
Joined: Wed Jul 24, 2002 10:36 am
Location: Uppsala, Sweden

  • Quote

Post by b-llwyd » Mon Dec 01, 2003 9:11 pm

...and as you might have noticed by now, /dev/cdroms/cdrom0 is also a symlink pointing to the exact same location!

ls -l would work just as well. The -h only tells ls to print out the size in Human-readable format. -a tells ls to show you all the files, even the hidden ones. None of those two really mattered in this case.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Multimedia”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic