From owner-freebsd-rc@FreeBSD.ORG Sun Sep 27 05:20:52 2009 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9AE7106566C for ; Sun, 27 Sep 2009 05:20:52 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 98EA98FC0C for ; Sun, 27 Sep 2009 05:20:52 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id n8R5IH0g097054; Sat, 26 Sep 2009 23:18:17 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 26 Sep 2009 23:20:15 -0600 (MDT) Message-Id: <20090926.232015.-1182932841.imp@bsdimp.com> To: jhay@meraka.org.za From: "M. Warner Losh" In-Reply-To: <20090927051312.GA90311@zibbi.meraka.csir.co.za> References: <20090926143736.GA21588@zibbi.meraka.csir.co.za> <20090926213945.GB88702@stack.nl> <20090927051312.GA90311@zibbi.meraka.csir.co.za> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: freebsd-rc@freebsd.org Subject: Re: zfs boot and fstab chicken and egg problem X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Sep 2009 05:20:52 -0000 In message: <20090927051312.GA90311@zibbi.meraka.csir.co.za> John Hay writes: : On Sat, Sep 26, 2009 at 11:39:45PM +0200, Jilles Tjoelker wrote: : > On Sat, Sep 26, 2009 at 04:37:36PM +0200, John Hay wrote: : > > I have setup a zfs only system using 2 mirrored disks and gpart, using : > > gptzfsboot to boot. That part is working well. The problem comes when : > > you need to add things like the linproc filesystem. If you add that to : > > fstab, the rc scripts will try to mount that before the zfs filesystems : > > and fail because rcorder put mountcritlocal before zfs. : > : > You can probably work around this using the "late" option in fstab. : : Ahhh, thanks, once you know what to look for it becomes a lot easier. :-) : I only found it mentioned in mount(8). Should it not be mentioned in : fstab(5) too? noauto is there. All options you can specify in /etc/fstab should be in fstab(5). The question is "which subset should be mentioned elsewhere," not what subset to document in the logical place... I mean, you wouldn't expect to look at tip(8) to find info about ttys(5) format, would you? Warner