You are not logged in.

#1 2011-10-30 18:03:15

ypnos
Member
Registered: 2007-12-30
Posts: 59

/dev/dvd missing

Hi,

on my install /dev/dvd got lost. I have to create a symlink to scd0 manually. Does anybody know the reason for this udev behavior or has a solution (pointers where to look at)?


ypnos

Offline

#2 2011-10-30 18:29:11

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: /dev/dvd missing

Thank you for bringing that up. I noticed that too, but have been too lazy to look into it. tongue

This seems to be the relavent thread: https://bbs.archlinux.org/viewtopic.php?pid=941382 I like Misfit's suggestion at the bottom, so I just added that to my /etc/rc.local file:

ln -s /dev/sr0 /dev/cdrom
ln -s /dev/sr0 /dev/cdrw
ln -s /dev/sr0 /dev/dvd
ln -s /dev/sr0 /dev/dvdrw

Offline

#3 2011-10-30 18:33:04

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: /dev/dvd missing

We don't create e.g /dev/cdrom for some time:
2011-05-19: udev 169-1 removed cdsymlinks.sh
http://projects.archlinux.org/svntogit/ … 60ccd3d56e

Offline

#4 2011-10-30 18:40:11

ypnos
Member
Registered: 2007-12-30
Posts: 59

Re: /dev/dvd missing

Thank you very much for the prompt replies and valuable information!

So you tell me everybody who wants to use mplayer dvd:// needs to has his individual stuff in rc.local? Or do I miss something?

Offline

#5 2011-10-30 18:40:48

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: /dev/dvd missing

As for the symlinks, this solution has been removed from the wiki https://wiki.archlinux.org/index.php?ti … did=168068

Offline

#6 2011-10-31 11:51:59

BasT
Member
Registered: 2010-08-28
Posts: 112

Re: /dev/dvd missing

karol wrote:

As for the symlinks, this solution has been removed from the wiki https://wiki.archlinux.org/index.php?ti … did=168068

Check this post:
https://bbs.archlinux.org/viewtopic.php … 2#p1010072

Last edited by BasT (2011-10-31 11:52:18)

Offline

#7 2011-10-31 12:27:12

SS4
Member
From: !Rochford, Essex
Registered: 2010-12-05
Posts: 699

Re: /dev/dvd missing

ypnos wrote:

Thank you very much for the prompt replies and valuable information!

So you tell me everybody who wants to use mplayer dvd:// needs to has his individual stuff in rc.local? Or do I miss something?

As a workaround you can use

mplayer -dvd-device /dev/sr0 dvd://

Rauchen verboten

Offline

#8 2011-10-31 19:23:05

Leonid.I
Member
From: Aethyr
Registered: 2009-03-22
Posts: 999

Re: /dev/dvd missing

I think mplayer's dvd:// protocol has nothing to do with the presence of actual /dev/dvd.


Arch Linux is more than just GNU/Linux -- it's an adventure
pkill -9 systemd

Offline

#9 2011-10-31 21:06:41

jaco
Member
From: Toulouse, France
Registered: 2011-03-17
Posts: 149

Re: /dev/dvd missing

For my own, i've created this file (82-cdrom.rules) in /etc/udev/rules.d :

SUBSYSTEMS=="scsi", KERNEL=="sr0", GROUP="optical", SYMLINK+="cdrom dvd"

Offline

Board footer

Powered by FluxBB