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 |
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. |
Thank you,
Symlink now remains. I also had to add my user account to group disk to make xine/mplayer work. |
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.
|
All times are GMT -5. The time now is 06:38 AM. |