* Richard W.M. Jones:
> I would prefer either that we push all this stuff into libguestfs's
> init script, or (better) that we fix the Debian packages themselves so
> that any directories, device files etc that they need are listed in
> the packages already and not in separate scripts. (Fedora is just as
> culpable about this).
Since not many people seem to be involved and interested in hacking on
initrd systems, I think that fixing this in the distributions won't
exactly be a short-term effort.
A few short looks at dracut and mkinitcpio (Arch Linux) show that their
/init scripts perform essentially the same filesystem mount operations
as the /init script from Debian's initramfs-tools described earlier. (I
am not surprised.) It should be easy to implement this in a few mount(2)
calls as part of febootstrap's /init. One could even use #ifdefs to cope
with slightly different behavior across distributions.
I think febootstrap would be more useful when used for other purposes
than building a libguestfs appliance. And there is one less possibly
distribution-specific detail that needs to be coded into libguestfs.
-Hilko