For example, if you want to include /usr/ports in a jail at startup, and you enter this in /etc/fstab, you have to modify /etc/jail.conf with "mount.fstab="/etc/fstab(.jail)";
This information is only in jail(8) but not in jail.conf(5)
(In reply to Jochen Neumeister from comment #0)
Yes, me too please.
Hi Jochen, Dan
jail.conf(5) has the following:
"See jail(8) for a list of jail parameters passed to the kernel, as well as internal parameters used when creating and removing jails."
The full list is in jail(8) since most (all?) parameters can be used via jail.conf(8) or jail(5). Duplicate the list in both man pages wouldn't be good (they might be out of sync easily).
Would it work if we highlight the quoted paragraph somehow to make it more explicit?
Sounds good. A highlighted reference, sounds good.
(In reply to Dan Langille from comment #3)
+1. Thank you for this! :-))
A commit in branch main references this bug:
Author: Fernando ApesteguÃa <fernape@FreeBSD.org>
AuthorDate: 2021-04-18 15:53:42 +0000
Commit: Fernando ApesteguÃa <fernape@FreeBSD.org>
CommitDate: 2021-04-18 15:58:16 +0000
jail.conf(5): emphasize where to find jail parameters
Some people expect jail.conf(5) to have a list of jail parameters.
jail(8) contains a comprehensive list of all parameters to be used during jail
invocation or in jail.conf.
Highlighting where to look for jail parameters seems a reasonable solution.
Reported by: joneum@
Approved by: 0mp (manpages, mentor)
Reviewed by: debdrup
Differential Revision: https://reviews.freebsd.org/D28701
usr.sbin/jail/jail.conf.5 | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)