From owner-freebsd-arch@FreeBSD.ORG Mon Aug 23 23:44:24 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 2E6181065693 for ; Mon, 23 Aug 2010 23:44:24 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout024.mac.com (asmtpout024.mac.com [17.148.16.99]) by mx1.freebsd.org (Postfix) with ESMTP id 159E08FC2C for ; Mon, 23 Aug 2010 23:44:23 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=us-ascii Received: from macbook-pro.lan.xcllnt.net (mail.xcllnt.net [70.36.220.4]) by asmtp024.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0L7M00JOKN5F7A70@asmtp024.mac.com> for freebsd-arch@freebsd.org; Mon, 23 Aug 2010 15:44:05 -0700 (PDT) X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1004200000 definitions=main-1008230194 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.0.10011,1.0.148,0.0.0000 definitions=2010-08-23_08:2010-08-24, 2010-08-23, 1970-01-01 signatures=0 From: Marcel Moolenaar In-reply-to: <20100823214946.GF64651@hoeg.nl> Date: Mon, 23 Aug 2010 15:44:03 -0700 Message-id: <7318E60D-F00F-4519-A3E3-9CE8B752AE88@mac.com> References: <20100823214946.GF64651@hoeg.nl> To: Ed Schouten X-Mailer: Apple Mail (2.1081) Cc: FreeBSD Arch 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: Mon, 23 Aug 2010 23:44:24 -0000 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. > 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... Thoughts? -- Marcel Moolenaar xcllnt@mac.com