From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Thu, 29 Dec 2005 16:57:23 +0000 Subject: Re: new version of udev has different cd/dvd devices Message-Id: <20051229165723.GA29561@vrfy.org> List-Id: References: <43B313ED.40402@bl.com> In-Reply-To: <43B313ED.40402@bl.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Thu, Dec 29, 2005 at 09:18:40AM -0600, Phil Howard wrote: > On Thu, Dec 29, 2005 at 02:36:29PM +0100, Marco d'Itri wrote: > > | On Dec 29, Phil Howard wrote: > | > | > What is recommended to use in place of udevstart for initial populating? > | Look at the many distribution-specific scripts which walk sysfs and poke > | the uevent files. > > So basically there isn't anything in udev? No, not in the tree. It's about a few lines of shell script. > Since I'm writing in C, I suspect udevstart would be more meaningful. Udevstart is dead and will stay as it is, until it will be removed at the time the "uevent" file triggers are common and udevstart is no longer needed. > One thing I'd need to explore is parsing issues for sysfs data. But > how scripts would parse it could be different than what might be done > in C. Ubuntu has "udevplug" which is in C, Fedora has patched udevd to to do the "uevent" file triggers. For SUSE, I'm perfectly fine with the shell script as it is the most flexible and best to tweak and debug option for me. We will see if we end in a common solution some day. > The first need for /dev will be long before the system could > run a shell. That's just plain wrong. Kay ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_idv37&alloc_id865&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