Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2010 07:22:06 +1300
From:      Andrew Thompson <thompsa@FreeBSD.org>
To:        "Philip M. Gollucci" <pgollucci@p6m7g8.com>
Cc:        rc@freebsd.org
Subject:   Re: [patch] - zfs mount -a *MUST* run before /etc/fstab is processed
Message-ID:  <20100110182206.GD63408@citylink.fud.org.nz>
In-Reply-To: <4B48F161.4070602@p6m7g8.com>
References:  <4B47F1DB.8080800@p6m7g8.com> <4B4829B7.1060700@FreeBSD.org> <4B48F161.4070602@p6m7g8.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100110182206.GD63408>