Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2013 22:37:44 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        Dirk Engling <erdgeist@erdgeist.org>
Cc:        freebsd-jail@freebsd.org
Subject:   Re: jail(8) vs. rc.d/jail features - fstab, zfs, vnet
Message-ID:  <51671F18.4020501@quip.cz>
In-Reply-To: <51670567.5070602@erdgeist.org>
References:  <51670567.5070602@erdgeist.org>

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



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