[klibc] [PATCH 6/8] switch_root: Fix single file mounts

maximilian attems max at stro.at
Mon Aug 1 13:27:45 PDT 2011

On Mon, Aug 01, 2011 at 01:19:07PM -0700, H. Peter Anvin wrote:
> Fair enough.  Thus, let's make the behavior:
> - Stop iterating at mount points;
> - Keep any directory that is necessary as scaffolding for said mount points.


An yet undecided question is the renaming run-init -> switch_root.
I agree with the assessment that underscore utilities are not pretty,
but this thing will be rarely called by the user himself.
It seems people have settled for the more descriptive switch root.

The other open question is the move mounting of /dev, /proc, /sys to
/newroot (with an Google bug in their rc scripts not handling this case).
switch_root in util-linux does it.

More information about the klibc mailing list