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

H. Peter Anvin hpa at zytor.com
Mon Aug 1 13:19:07 PDT 2011


On 08/01/2011 01:17 PM, maximilian attems wrote:
> 
> I think the option is overkill, as I would have to enable it in Debian
> by default. Currently the util-linux switch_root() ignores the case
> anyway and goes on removing the rest it can do.
> 
> I was about to "emulate" the util-linux lax behaviour, which allows
> boxes to boot in such cases.
> 

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.

	-hpa



More information about the klibc mailing list