From owner-freebsd-rc@FreeBSD.ORG Sun Jan 10 18:38:02 2010 Return-Path: Delivered-To: rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 311401065670 for ; Sun, 10 Jan 2010 18:38:02 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id E62D28FC0C for ; Sun, 10 Jan 2010 18:38:01 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 5BE3D7BAB2; Mon, 11 Jan 2010 07:22:11 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vxyce8pKlSSl; Mon, 11 Jan 2010 07:22:06 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Mon, 11 Jan 2010 07:22:06 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 3EB6011432; Mon, 11 Jan 2010 07:22:06 +1300 (NZDT) Date: Mon, 11 Jan 2010 07:22:06 +1300 From: Andrew Thompson To: "Philip M. Gollucci" Message-ID: <20100110182206.GD63408@citylink.fud.org.nz> References: <4B47F1DB.8080800@p6m7g8.com> <4B4829B7.1060700@FreeBSD.org> <4B48F161.4070602@p6m7g8.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B48F161.4070602@p6m7g8.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: rc@freebsd.org Subject: Re: [patch] - zfs mount -a *MUST* run before /etc/fstab is processed 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, 10 Jan 2010 18:38:02 -0000 On Sat, Jan 09, 2010 at 09:13:05PM +0000, Philip M. Gollucci wrote: > example - > > $ zpool create zroot .... > $ zfs set mountpoint=legacy zroot > [basically follow the wiki for GPTZFS boot] > > $ zfs create zroot/software > $ zfs create -p zroot/jails/x > $ zfs set mountpoint=/software zroot/software > $ zfs set mountpoint=/jails zroot/jails > > $ mkdir -p /jails/x/software > > $ cat /etc/fstab > /software /jails/x/software nullfs ro 0 0 For filesystem mounts that have extra dependencies, like ufs on zfs on ufs, use the late keyword. /software /jails/x/software nullfs,late ro 0 0 Andrew