Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 19:48:51 +0200
From:      Paul Schenkeveld <fb-arch@psconsult.nl>
To:        freebsd-arch@freebsd.org
Subject:   Re: RFC: enhancing the root mount logic
Message-ID:  <20100825174851.GA64117@psconsult.nl>
In-Reply-To: <7318E60D-F00F-4519-A3E3-9CE8B752AE88@mac.com>
References:  <AFBE2FCA-30A6-4E1D-A964-AC4DC4C843EB@juniper.net> <20100823214946.GF64651@hoeg.nl> <7318E60D-F00F-4519-A3E3-9CE8B752AE88@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@mac.com

Regards,

Paul Schenkeveld



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100825174851.GA64117>