[patch] - zfs mount -a *MUST* run before /etc/fstab is processed

Andrew Thompson thompsa at FreeBSD.org
Sun Jan 10 18:38:02 UTC 2010


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


More information about the freebsd-rc mailing list