Re: udevd messages lost on exit?

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

 



On Fri, Sep 30, 2011 at 11:33, James Hunt <james.hunt@xxxxxxxxxx> wrote:
> On 30/09/11 10:03, Kay Sievers wrote:
>> --exit just does a clean shutdown, it will not check for pending
>> events, only already running stuff will be properly finished, but
>> nothing new will be started.
> So if events are pending in udevd they will be lost unless trigger is called?

There is no idea at all of any continuous handling of events from
initramfs to the real root. These are completely different rule sets
and the stuff from initramfs needs to be replayed anyway.

>> If you want queued stuff, queued in udevd or the kernel, to be all
>> handled before exiting, add a call to 'settle' before the --exit call.
> Is that combination atomic?

See above. You need to trigger anyway. The rootfs might configure the
devices differently than the initramfs. The device database usually
much more stuff to carry.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux