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

H. Peter Anvin hpa at zytor.com
Mon Aug 1 13:18:16 PDT 2011


On 08/01/2011 12:14 PM, Peter Jones wrote:
>>
>> I would prefer this to bee an option, e.g. --keep-mounts, but perhaps
>> that's overkill?
> 
> Wouldn't it make more sense to simply check if it's a union mount and then
> ignore it?  Makes the cascade back up the directory tree a little more complex,
> but it's not the worst thing ever.
> 

We could do that, but the question is if that limits the use cases too much.

	-hpa



More information about the klibc mailing list