From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Thu, 27 Oct 2005 04:28:54 +0000 Subject: Re: udev 070 not create dvb device Message-Id: <43605786.7020208@ums.usu.ru> List-Id: References: <20051015141800.26330.qmail@web34812.mail.mud.yahoo.com> In-Reply-To: <20051015141800.26330.qmail@web34812.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Kay Sievers wrote: >You may try something stupid like this: > > while [ $(cat /proc/*/status 2> /dev/null | grep -c -E '^Name:.udevd?$') -gt 1 ]; do > sleep 0.1 > done > > 1) This can be simplified to: while pidof udevd | grep -q " " ; do sleep 0.1 done 2) Greg KH said to stick with (synchronous) udevstart for now, and I agree with him here. But there's your comment at http://bugs.debian.org/329226 >That's one of the problems with a synchronous udevstart. It should go >away for a lot of other reasons too and I refused all the "coldplug" >patches for udevstart for that reason. > > That seems to be in disagreement with Greg's words. Is that viewpoint obsolete? Or are there still plans to drop synchronous udevstart and make this "pidof" hack (or something equivalent) the official recommended solution? -- Alexander E. Patrakov ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ 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