From owner-freebsd-arch@FreeBSD.ORG Wed Aug 25 18:18:11 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 AE52710656A5 for ; Wed, 25 Aug 2010 18:18:11 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-ey0-f182.google.com (mail-ey0-f182.google.com [209.85.215.182]) by mx1.freebsd.org (Postfix) with ESMTP id 3EE1E8FC1B for ; Wed, 25 Aug 2010 18:18:10 +0000 (UTC) Received: by eyx24 with SMTP id 24so601118eyx.13 for ; Wed, 25 Aug 2010 11:18:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=ZfMWrdhokGw8ITWt1RhkVvVd/o/KGJUx2AG0HR4dH50=; b=A12Y8Jyd7PJRM33Hv5xlH2TAhniuitAdm7ieF08d/m+7bhp/XnqFacfwBm8b4aGCGK GXLCvE4LMoqV3c8CpUSqvlQlN2IYYmKLJDplyNWWUvljpEeWRly1gfdUQrXR/UqetwN9 4E3hbCdwtIPBifBHevQC08IVP3LMtnSnJOpmI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=MKDqPEi6bWsqYC7OFlyR+O5t3qczqLuRWsuLURMWyYI3W6LnugwdOHRnEMbWmAbuKp A2HRCgNsHdHL7htC+/G2SkwNmpDRyirpEAdyf5b59x51qXDJOwlyJZfHEXu3KUP+F6JY t5tUZVGlolUKxKv7+FHxWNpf/ynntUoGaHfC4= MIME-Version: 1.0 Received: by 10.213.62.206 with SMTP id y14mr5937881ebh.34.1282760290089; Wed, 25 Aug 2010 11:18:10 -0700 (PDT) Sender: yanegomi@gmail.com Received: by 10.14.47.197 with HTTP; Wed, 25 Aug 2010 11:18:09 -0700 (PDT) In-Reply-To: <34EF2360-1B68-4E0C-8CCE-409CE141D0B8@mac.com> References: <34EF2360-1B68-4E0C-8CCE-409CE141D0B8@mac.com> Date: Wed, 25 Aug 2010 11:18:09 -0700 X-Google-Sender-Auth: ZWnYFfjdY8oQ91QZPpsVE8ZYdIA Message-ID: From: Garrett Cooper To: Marcel Moolenaar Content-Type: text/plain; charset=ISO-8859-1 Cc: "freebsd-arch@FreeBSD.org Arch" Subject: Re: RFC: root mount enhancement (round 2) 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 18:18:11 -0000 On Wed, Aug 25, 2010 at 8:58 AM, Marcel Moolenaar wrote: > Summary of round 1: ... > To re-iterate: the logic is recursive. After mounting some file system > as root, the kernel will follow the directives in /.mount.conf (if the > file exists) for remounting the root file system. At each iteration the > kernel will remount devfs under /dev and remount the current root file > system under /.mount within the new root file system. I like the proposal, but like Ed, I do have a concern with infinite recursion. Should a breadcrumb be added to prevent infinite recursion with the mounts, or is it game over, egg on your face, if you create an infinite recursion situation? Thanks, -Garrett