From owner-freebsd-arch@FreeBSD.ORG Wed Aug 25 03:49:14 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 6025A10656A6 for ; Wed, 25 Aug 2010 03:49:14 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 1EB818FC0A for ; Wed, 25 Aug 2010 03:49:13 +0000 (UTC) Received: by iwn36 with SMTP id 36so231501iwn.13 for ; Tue, 24 Aug 2010 20:49:13 -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:content-transfer-encoding; bh=Ap3p8bED1ToxjF/kbq+79+8iirI9Z3xfR1eGhnCvGRQ=; b=kLrux8SX+R6JQ5vKOPpby06ymRyNBnmG/gX7EdHKhsMai6ndAYitic0w5cWydLjtK2 zGAnajKmVuyPOX574yzBwzU4l4zlE0vMQnFPOsX/LDBfOGjMCLM8ahVUZtt0XqtlKUCK y8iPhmWs2JcDTK4IFS6e4NAK+ISVf2m9hkvdg= 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 :content-transfer-encoding; b=IsdRlioMLUxfrL0SI0Jd1ldXZjDeyIOfUBNSatZFxp3IXmH5TuUI4c6RcdYBGSu9CQ S71oAOlK3139A2lYx8DOQ/RZ7LJCVmCAynZzeH4SVonTMzmHZtVyBX55cn0pIl2T2ft0 pNhW4R7ti3L/eCbxuWG8EMmUch/VVKLn+QW3w= MIME-Version: 1.0 Received: by 10.231.170.21 with SMTP id b21mr9462358ibz.122.1282708150286; Tue, 24 Aug 2010 20:49:10 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.231.168.14 with HTTP; Tue, 24 Aug 2010 20:49:10 -0700 (PDT) In-Reply-To: <20100824.195145.29593248078694701.imp@bsdimp.com> References: <20100824.105546.1002438156525560711.imp@bsdimp.com> <20100824.195145.29593248078694701.imp@bsdimp.com> Date: Wed, 25 Aug 2010 11:49:10 +0800 X-Google-Sender-Auth: VU8UpYE0M7TBxG-ezKJdsmlGcSM Message-ID: From: Adrian Chadd To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: xcllnt@mac.com, freebsd-arch@freebsd.org 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 03:49:14 -0000 On 25 August 2010 09:51, M. Warner Losh wrote: > : I'm not saying the whole Linux initrd approach is -bad-; i'm just > : saying it needs to be thought through a little more first. > > No body is saying that the only way to do things (or even the default > way) is via the Linux mdroot thing. =A0We're saying that it is *A* way > to bootstrap a kernel that uses the ramfs to find the proper location > of root to mount (maybe after initializing the device where root is), > pivot to that new location. > > Marcel's current proposal seems simpler (and less flexible) than > this. =A0The proof in the pudding will be his ability to handle the > 'layered' cases of encryption or compression I brought up earlier. I do like the idea of a formalish description of a bootstrap process rather than "hi, run these scripts." That said, I do like the idea of also being able to run some scripts, prep the system and then re-try the root mount. Having both options would be rather nice. In any case, +1 from me. Adrian