From: Jon Masters <jonmasters@gmail.com>
To: "valdis.kletnieks@vt.edu" <valdis.kletnieks@vt.edu>
Cc: Harald Dunkel <harald.dunkel@t-online.de>,
Andreas Jellinghaus <aj@dungeon.inka.de>,
linux-kernel@vger.kernel.org
Subject: Re: block till hotplug is done?
Date: Tue, 5 Oct 2004 23:16:34 +0100 [thread overview]
Message-ID: <35fb2e59041005151661d7a0b4@mail.gmail.com> (raw)
In-Reply-To: <200410052038.i95Kc8VM004041@turing-police.cc.vt.edu>
On Tue, 05 Oct 2004 16:38:08 -0400, valdis.kletnieks@vt.edu
<valdis.kletnieks@vt.edu> wrote:
> On Tue, 05 Oct 2004 22:13:15 +0200, Harald Dunkel said:
> > Andreas Jellinghaus wrote:
> > > Hi,
> > >
> > > is there any way to block till all hotplug events are handled/
> > > the hotplug processes terminated?
> > >
> >
> > while [ "`ps | grep /sbin/hotplug | grep -v grep`" ]; do sleep 1; done
>
> Save a process:
>
> while [ "`ps | grep '/sbin/[h]otplug'`" ]; do sleep 1; done
Why not sit a script in /etc/dev.d and have that wake up your fsck
script by signalling a flag file somewhere or somesuch - I think this
is the preferable to do stuff with udev, Greg?
Jon.
next prev parent reply other threads:[~2004-10-05 22:16 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-10-05 19:52 block till hotplug is done? Andreas Jellinghaus
2004-10-05 20:13 ` Harald Dunkel
2004-10-05 20:38 ` Valdis.Kletnieks
2004-10-05 22:16 ` Jon Masters [this message]
2004-10-05 22:04 ` Andreas Jellinghaus
2004-10-06 14:19 ` Alexander E. Patrakov
2004-10-08 14:23 ` Greg KH
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=35fb2e59041005151661d7a0b4@mail.gmail.com \
--to=jonmasters@gmail.com \
--cc=aj@dungeon.inka.de \
--cc=harald.dunkel@t-online.de \
--cc=jonathan@jonmasters.org \
--cc=linux-kernel@vger.kernel.org \
--cc=valdis.kletnieks@vt.edu \
/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