From owner-freebsd-arch@FreeBSD.ORG Wed Aug 25 19:06:58 2010 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5DA061065695 for ; Wed, 25 Aug 2010 19:06:58 +0000 (UTC) (envelope-from fb-arch@psconsult.nl) Received: from mx1.psconsult.nl (unknown [IPv6:2001:7b8:30f:e0::5059:ee8a]) by mx1.freebsd.org (Postfix) with ESMTP id 13AA48FC0C for ; Wed, 25 Aug 2010 19:06:57 +0000 (UTC) Received: from mx1.psconsult.nl (psc11.adsl.iaf.nl [80.89.238.138]) by mx1.psconsult.nl (8.14.4/8.14.4) with ESMTP id o7PJ6px7065853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 25 Aug 2010 21:06:56 +0200 (CEST) (envelope-from fb-arch@psconsult.nl) Received: (from paul@localhost) by mx1.psconsult.nl (8.14.4/8.14.4/Submit) id o7PHmpmw064435 for freebsd-arch@freebsd.org; Wed, 25 Aug 2010 19:48:51 +0200 (CEST) (envelope-from fb-arch@psconsult.nl) X-Authentication-Warning: mx1.psconsult.nl: paul set sender to fb-arch@psconsult.nl using -f Date: Wed, 25 Aug 2010 19:48:51 +0200 From: Paul Schenkeveld To: freebsd-arch@freebsd.org Message-ID: <20100825174851.GA64117@psconsult.nl> References: <20100823214946.GF64651@hoeg.nl> <7318E60D-F00F-4519-A3E3-9CE8B752AE88@mac.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7318E60D-F00F-4519-A3E3-9CE8B752AE88@mac.com> User-Agent: Mutt/1.5.19 (2009-01-05) Subject: Re: RFC: enhancing the root mount logic X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2010 19:06:58 -0000 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 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