Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: [patch] Improved jail fstab functionality inside rc.d (needs testers and review)

0 views
Skip to first unread message

Bjoern A. Zeeb

unread,
Nov 29, 2009, 12:50:52 PM11/29/09
to Merijn Verstraaten, freebsd...@freebsd.org, freebs...@freebsd.org, freeb...@freebsd.org, Simon L. Nielsen
On Sun, 29 Nov 2009, Merijn Verstraaten wrote:

> My apologies if these are the wrong lists for this sort of thing but it was
> unclear to me where else to go with additions like this.

You may try freebsd-jail@

Make sure to get a review from simon@ for this.

/bz

--
Bjoern A. Zeeb It will not break if you know what you are doing.
_______________________________________________
freebsd...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hacke...@freebsd.org"

Ivan Voras

unread,
Nov 30, 2009, 6:52:24 AM11/30/09
to freebsd...@freebsd.org
Merijn Verstraaten wrote:
> My apologies if these are the wrong lists for this sort of thing but it
> was unclear to me where else to go with additions like this.
>
> I just finished hacking /etc/rc.d/jail to fix my two pet peeves,
> currently the rc framework only accepts a single fstab file per jail and
> (worse!) there is no way to specify the mountpoints in these fstab files
> relative to the jails root. This makes sharing of mounts (for example
> all my jails nullfs mounting the same ports tree) very cumbersome.
>
> This patch should allow you to specify multiple fstab files in the
> jail_fstab and jail_<name>_fstab variables and mount these in order. In
> addition the patch mangles the fstab files in such a way that any
> mountpoint in the fstab files starting with the text "ROOT" will have
> "ROOT" replaced with the jails rootdir. For example the following
> situation:
> rc.conf:
> jail_test_rootdir="/usr/jails/test"
> jail_test_fstab="/usr/jails/fstab /usr/jails/fstab.test"

Ah, so you want a single fstab file to be usable for multiple jails,
which have identical fs structures. Nice idea.

0 new messages