From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Christy Date: Sun, 04 Jan 2004 18:57:43 +0000 Subject: udev init (cont) Message-Id: <200401041857.44026.christy@attglobal.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Firstly, thanks for all the hints & tips guys. I'm starting to get somewhere, but need some more information....... I've compiled udev-012, and after running make install, I've moved the start script and renamed it to /etc/rc.d/rc.udev - the correct place for a Slackware init script. I've commented out the line which refers to the functions script (which Slak doesn't use) and following Takis hints, replaced with I can now start udev manually, and I can see device nodes appear in /udev. Further, I can see them appear "automagically" when I plug in usb memory sticks! So far, so good...... Now the question remains as to where I should put the command to run udev at startup. Slackware has a command right at the top of rc.S (single user init) to mount devfs, if it exists. I tried putting something similar in for udev, but it stopped the machine recognising pcmcia, and hung shortly thereafter. This implies that udev has to be run pretty late in the boot procedure. But where? At the end of single user init? In multi-user init (rc.M)? In rc.local (right at the end of init)? What criteria have to be met before I can run udev? I assume it has to run fairly early to pick up things like soundcards. At present, my /udev only seems to have a very limited number of devices present, and doesn't include some things I would expect to see in there, like sound or agp. Which brings me to.....: Although I can see nodes appearing in udev, is there anything I have to do to make sure the system is actually using them? For all I know (and I haven't got this deep yet) the system could be completely ignoring /udev, and just running with the existing /dev! How do I check? Is there anything else I have to do? TIA, -- Pete christy@attglobal.net ------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel