jail(8) vs. rc.d/jail features - fstab, zfs, vnet
Miroslav Lachman
000.fbsd at quip.cz
Thu Apr 11 20:43:53 UTC 2013
Dirk Engling wrote:
> Dear jail hackers,
>
> in my ongoing quest to understand the direction jail development is
> heading, I noticed that per-jail-fstabs are not (anymore?, yet?)
> supported by the new jail(8)-rc.d/jail2-combo. Are there official plans
> to drop the support?
I don't know what you mean there.
You can use per jail fstab in jail.conf
# in global context
mount.fstab = "/etc/fstab.$name";
# in jail context
myjail {
host.hostname = "myjail.example.com";
ip4.addr = 10.11.12.13;
mount.fstab = "/etc/fstab.whateveryouwant";
}
Miroslav Lachman
More information about the freebsd-jail
mailing list