From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 12 Apr 2004 19:17:19 +0000 Subject: Re: How to use udev ? Message-Id: <20040412191719.GJ21502@kroah.com> List-Id: References: <20040412003325.A326@bedhost> In-Reply-To: <20040412003325.A326@bedhost> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Mon, Apr 12, 2004 at 12:33:25AM -0400, John D. Coleman wrote: > This message is intended primarily for the developer of udev but in > case someone else has these same questions, I'm sending it to the > mailing list. > > > #1 > I went to > https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel & > clicked on > http://sourceforge.net/mailarchive/forum.php?forum=linux-hotplug-devel. > I then received this message : > > ERROR > > Either your mailing list name was misspelled or your mailing list has > not been archived yet. If this list has just been created, please retry > in 2-4 hours > > Is the mailing list new or misspelled ? No, and no. sf.net mailing list archives suck. Use either of the following ones instead: http://marc.theaimsgroup.com/?l=linux-hotplug-devel&r=1&w=2 http://news.gmane.org/gmane.linux.hotplug.devel (the gmane.org one is much nicer to read mail threads) > #2 > I downloaded udev-024.tar.gz and while reading the README file : "Make > sure that you have the latest version of the linux-hotplug scripts". I > followed the given URL and found the following files: > diethotplug-x.x > fxload > hotplug > hotplug-base > hotplug-core > hotplug-fxload > hotplug-utils > sysutils > udev > + a few documents > QUESTION: Which one of these files is the required scripts? and what > are these files ? An index in this directory would be nice. See the linux-hotplug.sf.net web site download area for the latest version of the scripts. Or just rely on your distro to keep you updated :) > #3 - My main question > After I install udev, can I delete my /dev directory ? As long as I > don't boot anything other than Linux-2.6.x. If you are brave, yes. But I would not suggest doing that, if you follow the directions, a ramfs will be mounted on top of your current /dev allowing you to run 2.4 kernels also. So keep those device nodes around, you might need them sometime > #4 > After udev is installed, will all programs then start looking for > devices using udev or must the source code for those programs be > changed specifically to use udev? Programs do not "look for devices using" anything. They just refer to device nodes in /dev. If you have written udev rules that name your devices differently from what your program is normally expecting, then you will have to reconfigure your program to point to the proper /dev file for the device. Hope this helps, greg k-h ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id70&alloc_id638&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