From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alexander E. Patrakov" Date: Wed, 26 Oct 2005 12:32:54 +0000 Subject: Re: udev 070 not create dvb device Message-Id: <435F7776.3000403@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 I wrote: >5) (BUG) make sure that /dev/hda1 is created before a bootscript attempts to >check the filesystem. There is some file in sysfs (forgot its name and this >mail writing from 2.4 so can't check) that holds the sequence number of the >last hotplug event. Maybe this file should be polled and the boot process >should continue only if there were no changes in 5 seconds. > > 5a) The file is /sys/kernel/hotplug_seqnum 5b) Polling it doesn't really help because it only tells when the kernel gave the hotplug event to udev, but not when udev finished processing this event. So I know no workarount for this bug except an unconditional long sleep (preferrably with configurable length for compatibility with bochs and qemu). -- 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