Alexander E. Patrakov wrote:
> No, that won't work. We want to mount tmpfs on /dev for start, but
> not for restart.

True, unless we unmount it first (thus removing all devices).  Well,
actually we probably can't unmount it, because at least /dev/console
will be open.

OK, so how about restart does the "killall udevd" (or whatever), then
udevd --daemon, then walk_sysfs.  That's not too much harder.  The only
thing it'll miss is the "static" device nodes in /lib/udev/devices, but
those shouldn't have disappeared anyway (hopefully).  If it looks like
that would be a problem, we can add the cp -ar to the restart target,
too.

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to