From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Sat, 29 Apr 2006 12:58:11 +0000 Subject: Re: [PATCH] Give a hint when 'udevd' is ready to operate Message-Id: <20060429125811.GA13319@vrfy.org> List-Id: References: <877j587nq1.fsf@kosh.bigo.ensc.de> In-Reply-To: <877j587nq1.fsf@kosh.bigo.ensc.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sat, Apr 29, 2006 at 01:46:20PM +0100, Scott James Remnant wrote: > On Sat, 2006-04-29 at 11:08 +0200, Enrico Scholz wrote: > > > please apply the attached patch. It creates the '/dev/.udev' directory > > when 'udevd' is ready to operate. > > > This isn't needed. > > Start udevd with the --daemon argument, it won't go into the background > until it's ready to process events. > > So the following code works: > > udevd --daemon > udevtrigger Yeah, that is the usual way and udevd makes sure not to return before it's fully initialized. Waiting for a file from a daemon, just because the minit-like stuff tries to be smart (daemons don't detach) sounds weird. Anyway, the current udevd exports the seqnum of the kernel, so one can wait for that, even when it's a silly workaround a problem that does not exist in reality. Kay ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ 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