LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Manually Created Devices Disappear - Slackware 10 Kernel 2.6.9 (https://www.linuxquestions.org/questions/slackware-14/manually-created-devices-disappear-slackware-10-kernel-2-6-9-a-272676/)

rovitotv 01-01-2005 04:19 PM

Manually Created Devices Disappear - Slackware 10 Kernel 2.6.9
 
It appears that if I manually create a device or link like ln -s /dev/sr0 /dev/dvd then reboot the /dev/dvd link disappears. I also have this problem when I use my digital video camera I have to recreate the devices after each reboot. Until I upgraded to kernel 2.6.9 I never had this problem, any ideas on how to make my devices permanent?


Thanks.

cathectic 01-01-2005 04:53 PM

2.6 kernels use udev for dynamically creating device nodes when they are needed. Your /dev is now just a partition in RAM and is lost when you switch off, and is recreated when you switch back on again.

To create a permanent symlink, you need to create a udev rule that will always create a symlink from your device to the desired symlink. Try http://www.reactivated.net/udevrules.php for more information on how to do that.


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