LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   how to make udev save changes? (http://www.linuxquestions.org/questions/linux-software-2/how-to-make-udev-save-changes-344827/)

h3xis 07-19-2005 10:24 PM

how to make udev save changes?
 
alright, so here's the deal. everytime i turn my computer on i have to redo the changes i made to /dev because udev reverts back to factory defaults each time. basically i have a few symlinks in /dev and a few devices i've copied into /dev that are removed upon startup. i asked around in freenode and all i got was "make a custom rule". i, nor them, knew how to do this. i checked out /etc/udev.conf and it appears that i might need to make a "custom" section that points to a custom conf file that i need to create. has anyone had any experience with this? your help would be greatly appreciated.

xpromisex 07-19-2005 10:37 PM

I know it's strange - but check the Arch linux wiki for some help. I haven't had any problems with UDev, but Arch linux offers users a choice between DevFS and UDev, yet defaults to DevFS. Because of this there is quite a lot of documentation on UDev and how to use it.

http://wiki2.archlinux.org

foo_bar_foo 07-19-2005 11:10 PM

the links i would just put at the end of your boot scripts wherever debian people put such stuff
i put mine at the end of my firewall script -- kind of a hack ? yes but easier than udev rules

on to the new devices any device that gets detected at startup and gets cued in the hotplug thingy will get included by udev.(at least that;s how my system works) So it might be as easy as simply loading the modules (drivers) for the devices however debian does that at startup before the udev script runs.

if you still have troubles i think you need to give us details like what devices exactly

h3xis 07-19-2005 11:34 PM

i got the devices thing figured out. i just edited fstab (didn't think to do that in the first place). as for the symlinks, i made a shell script to run at startup in init.d so i think i have everything working...i'll just have to see when i reboot.


All times are GMT -5. The time now is 02:31 AM.