From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 02 Mar 2004 23:20:52 +0000 Subject: Re: [PATCH] cleanup udevstart Message-Id: <20040302232052.GA11218@kroah.com> List-Id: References: <20040302215536.GA12039@vrfy.org> In-Reply-To: <20040302215536.GA12039@vrfy.org> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Wed, Mar 03, 2004 at 12:09:51AM +0100, Olaf Hering wrote: > On Tue, Mar 02, Kay Sievers wrote: > > > +#define SYSBLOCK "/sys/block" > > +#define SYSCLASS "/sys/class" > > +#define UDEV_BIN "/sbin/udev" > > > pid = fork(); > > > - retval = execl("/sbin/udev", "/sbin/udev", path, NULL); > > I have not looked closer at it, wouldnt it be better to feed the udevdb > directly, instead of spawning countless udev processes? Some sort of > udev binary which takes optional directories as agument to limit it to > these sysfs dirs. Nah, it's simpler this way. We spawn and then wait, so there isn't a zillion udev processes all running at once :) thanks, greg k-h ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&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