From: Jacob Gorm Hansen <jacobg@diku.dk>
To: Chris Wright <chrisw@osdl.org>
Cc: xen-devel@lists.xensource.com
Subject: Re: /sbin/hotplug exec'd lots of times during boot
Date: Thu, 07 Apr 2005 09:29:35 -0700 [thread overview]
Message-ID: <42555FEF.5050305@diku.dk> (raw)
In-Reply-To: <20050407082005.GJ11199@shell0.pdx.osdl.net>
Chris Wright wrote:
> * Jacob Gorm Hansen (jacobg@diku.dk) wrote:
>
>>I just added a printk to do_execve() in xenolinux0, and noticed that
>>/sbin/hotplug is being exec'ed more than a hundred times during boot,
>>and that this happens before /sbin/init is exec'ed.
>
>
> This sounds pretty normal for Linux. Each kobject_add can generate a
> hotplug event, and execve("/sbin/init") happens quite late during bootup.
No wonder it is slow to boot then ;-) ... How can one be sure that the
/sbin/hotplugs are no longer running when /sbin/init runs, i.e. that
init has pid==1? Are there no forks allowed in /sbin/hotplug?
thanks,
Jacob
next prev parent reply other threads:[~2005-04-07 16:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-07 2:43 /sbin/hotplug exec'd lots of times during boot Jacob Gorm Hansen
2005-04-07 8:20 ` Chris Wright
2005-04-07 16:29 ` Jacob Gorm Hansen [this message]
2005-04-07 17:19 ` Chris Wright
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=42555FEF.5050305@diku.dk \
--to=jacobg@diku.dk \
--cc=chrisw@osdl.org \
--cc=xen-devel@lists.xensource.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.