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?
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 03:21 PM.|