LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-07-2004, 03:35 AM   #1
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Rep: Reputation: 15
cannot setup DVD device Slackware 10


Hello

I have a problem with Slackware 10 running on 2.6.7 & DVD device.

When I set up a /dev/dvd symlink to my dvd-rom (dev/hdc), I can watch DVD's ok in both Xine & Mplayer, however....

when I reboot system /dev/dvd symlink is removed??, and I have to create a new symlink.

Any ideas??

Regards

my fstab:

/dev/hda5 swap swap defaults 0 0
/dev/hda2 / reiserfs defaults 1 1
/dev/hdc /mnt/cdrom udf,iso9660 noauto,user,ro 0 0
#/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
 
Old 08-07-2004, 03:54 AM   #2
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Hi, as you have 2.6 kernel, I think you use udev like me. To let udev populate symlink at boot you have to add an udev rule.

edit /etc/udev/rules.d/udev.rules and add near the top :
BUS="ide", KERNEL="hdc", NAME="%k", SYMLINK="dvd"

Now /dev/dvd will be populated at boot stage with udev.
 
Old 08-08-2004, 04:04 AM   #3
chestnut
Member
 
Registered: Jan 2004
Location: Sydney, Australia
Distribution: FC3, Ubuntu (Hoary)
Posts: 86

Original Poster
Rep: Reputation: 15
Thank you,

Symlink now remains. I also had to add my user account to group disk to make xine/mplayer work.
 
Old 08-08-2004, 06:35 AM   #4
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Yes, I forgot to mention that, udev set the permissions for /dev files accordingly to the /etc/udev/permissions.d/udev.permissions configuration file after populate the dev/* at boot.
 
  


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
mount as a device: mount dvd-iso file in /dev/dvd sadarax Linux - General 21 02-03-2011 12:59 AM
Trying to setup printer, what is Device and device URI ? M$ISBS Linux - Hardware 1 07-20-2005 12:44 PM
Change 7CD setup to 1 DVD setup GaX Mandriva 1 04-22-2004 06:23 AM
Slackware setup problem dvd-rom was not reconized jsandro7 Linux - Newbie 2 01-22-2004 01:31 AM
Coudn't open DVD device: /dev/dvd eboggess Linux - Laptop and Netbook 3 10-18-2003 07:02 PM


All times are GMT -5. The time now is 04:53 PM.

Main Menu
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