From mboxrd@z Thu Jan 1 00:00:00 1970 From: Lindsay Haisley Date: Mon, 25 Oct 2004 07:22:28 +0000 Subject: Re: udevstart.c -> kscan.c Message-Id: <20041025072227.GC23239@fmp.com> List-Id: References: <20041025063019.GB23239@fmp.com> In-Reply-To: <20041025063019.GB23239@fmp.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Thus spake Greg KH on Mon, Oct 25, 2004 at 01:45:10AM CDT > On Mon, Oct 25, 2004 at 01:30:19AM -0500, Lindsay Haisley wrote: > > Here's a rather more polished, less buggy version of kscan.c, as a diff > > against udevstart.c. > > You do realize that the current version of udev is 042, not 030, right? > udevstart is radically different in the current version. Yes, I'm running gentoo stable, which is at 030. Unstable is at 042. If I'm going to mess with this stuff and try to talk intelligently (?) about it I should get on the same plane with everyone else :/ > Also, what you are looking for (a list of all kernel class devices) can > be done with the following short bit of shell code. Feel free to add > the 'KERNEL=' portion to the beginning of every line if you think it's > necessary. Not necessary, only convenient, as is the SYSFS{blah}="foo" output from udevinfo. This script works fine, and gives the required information. The C patch I tossed out is slightly more informative in that it breaks devices down by category and makes them easier to find in the output, but the end result is the same. If it's not already there, this script certainly belongs in the distribution. > thanks, > > greg k-h And thank you for all your good work on this! -- Lindsay Haisley | "Fighting against human | PGP public key FMP Computer Services | creativity is like | available at 512-259-1190 | trying to eradicate | http://www.fmp.com | dandelions" | | (Pamela Jones) | ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ 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