From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hannes Reinecke Date: Fri, 14 Jan 2005 11:26:42 +0000 Subject: Re: [PATCH] use uevents in udevd Message-Id: <41E7AC72.5010505@suse.de> List-Id: References: <41E79D7A.2060607@suse.de> In-Reply-To: <41E79D7A.2060607@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: linux-hotplug@vger.kernel.org Marco d'Itri wrote: > On Jan 14, Hannes Reinecke wrote: > > >>- check /proc/config.gz for CONFIG_KOBJECT_UEVENT >> (if /proc/config.gz is available) > > Not acceptable for a distribution script. > > Yeah, I know. >>- use a program to check for it (like the attached one). > > It's yet another binary to install in the initrd etc... What about > integrating it in udevd? It could exit with a specific error value if > uevents are not available, and most of the code is already there. > Well, the main point of the udevd patch is that it's backwards compatible. So it'll start regardless whether uevent sockets are available or not. And it's not a clever idea to use udevsend for this task, either, as we will have to use it to feed manual events to udevd. So just exiting udevsend with an error code if uevent sockets are available it IMHO not possible. But I might be convinced otherwise. And yes, I also don't like the 'yet another binary' idea. Cheers, Hannes -- Dr. Hannes Reinecke hare@suse.de SuSE Linux AG S390 & zSeries Maxfeldstraße 5 +49 911 74053 688 90409 Nürnberg http://www.suse.de ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ 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