From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: udev 070 not create dvb device
Date: Wed, 26 Oct 2005 18:25:25 +0000 [thread overview]
Message-ID: <20051026182525.GA20503@vrfy.org> (raw)
In-Reply-To: <20051015141800.26330.qmail@web34812.mail.mud.yahoo.com>
On Wed, Oct 26, 2005 at 06:32:54PM +0600, Alexander E. Patrakov wrote:
> 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.
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
Good luck,
Kay
-------------------------------------------------------
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
next prev parent reply other threads:[~2005-10-26 18:25 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-10-15 14:18 udev 070 not create dvb device lukkinosat
2005-10-18 5:45 ` Greg KH
2005-10-19 11:19 ` lukkinosat
2005-10-19 13:18 ` Alexander E. Patrakov
2005-10-22 6:58 ` lukkinosat
2005-10-22 13:28 ` Alexander E. Patrakov
2005-10-23 7:01 ` lukkinosat
2005-10-23 20:34 ` Kay Sievers
2005-10-24 6:31 ` lukkinosat
2005-10-24 17:51 ` Kay Sievers
2005-10-26 2:44 ` Alexander E. Patrakov
2005-10-26 6:45 ` Matthew Burgess
2005-10-26 7:46 ` Alexander E. Patrakov
2005-10-26 11:35 ` lukkinosat
2005-10-26 12:32 ` Alexander E. Patrakov
2005-10-26 15:07 ` Greg KH
2005-10-26 15:52 ` Greg KH
2005-10-26 18:25 ` Kay Sievers [this message]
2005-10-27 2:53 ` Olivier Blin
2005-10-27 4:28 ` Alexander E. Patrakov
2005-10-27 13:48 ` Kay Sievers
2005-10-27 14:48 ` Alexander E. Patrakov
2005-10-27 15:21 ` Marco d'Itri
2005-10-27 15:50 ` Alexander E. Patrakov
2005-10-27 15:51 ` Alexander E. Patrakov
2005-10-27 16:24 ` Marco d'Itri
2005-10-28 1:43 ` Kay Sievers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20051026182525.GA20503@vrfy.org \
--to=kay.sievers@vrfy.org \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).