Re: [BK PATCHES] initramfs merge, part 1 of N

Alexander Viro
2002-11-02T20:32:09Z

On Sat, 2 Nov 2002, H. Peter Anvin wrote:

> Probably not to kinit, but to early userspace, yes. There is no real
> reason to put everything into kinit, and a lot of these things we have
> already written up as part of the klibc bundle.

s/probably/definitely/

There is a lot of reasons for _not_ putting everything into one binary -
if nothing else, it allows to deal with situations like
/* do a lot of things that are OK for userland */
/* do ugly magic */
/* do a lot of things that are OK for userland */
without exporting ugly crap.

It's much better to have several userland helpers called from init sequence
to do sane stuff in userland and leave remaining crap where it is, than
to add user-visible interfaces that don't make sense.