RFC: enhancing the root mount logic

Paul Schenkeveld fb-arch at psconsult.nl
Wed Aug 25 19:06:58 UTC 2010


On Mon, Aug 23, 2010 at 03:44:03PM -0700, Marcel Moolenaar wrote:
> 
> On Aug 23, 2010, at 2:49 PM, Ed Schouten wrote:
> 
> > * Marcel Moolenaar <marcelm at juniper.net> wrote:
> >> Is this something that people feel is worth fleshing out and
> >> prototyping?
> > 
> > Sounds awesome! This would make my writable boot cd a lot more elegant
> > than it is right now. Have you thought about things like possible
> > endless loops? Say, you mount a unionfs on the root of the fs itself.

So far I've not yet seen any endless loop in computing ... :-)

> > This may cause the original .mount.conf to be reinterpreted, right?
> 
> Right. I haven't thought about it. My off the cuff response is that we
> should disallow it if the amount of effort required to detect it is
> within reason. Alternatively, we could simply impose a global limit on
> the depth of the recursion. Either appears reasonable to me, but I may
> be overlooking something here...

What about a directive in .mount.conf, e.g. ".exit" to end the recursion?

> Thoughts?
> 
> -- 
> Marcel Moolenaar
> xcllnt at mac.com

Regards,

Paul Schenkeveld


More information about the freebsd-arch mailing list