[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] /sbin/hotplug exec'd lots of times during boot



Chris Wright wrote:
* Jacob Gorm Hansen (jacobg@xxxxxxx) 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

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.