Ken Moffat wrote:
Thanks for that explanation. I've been looking at fedora-5 (udev-084, so still using a script) - I found that slightly easier to understand (follows this paragraph), because it distinguishes waiting for the queue to appear, and waiting for it to disappear.

We don't wait for this dir to appear. We pre-create it instead ourselves (the idea belongs to Jim Gifford).

But if I read you correctly, it's possible for the queue to disappear, then reappear a little later, so trying to boot to e.g. a rootfs on flash might be problematic with their code ?

Yes, but waiting for rootfs is done in initramfs, not after mounting rootfs. So the problem is "flash as /usr", not "flash as root". But, on the fast machines with simple udev rules (like LFS ones), even the regular TTYs trigger the bug without $confirm because of the finite time when the uevent sits in the kernel socket buffer.

--
Alexander E. Patrakov
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to