Hierachical jails devfs and rc.conf
Holger Hans Peter Freyther
holger at freyther.de
Mon Mar 28 17:34:04 UTC 2011
On 03/28/2011 07:06 PM, Adam Vande More wrote:
> On Mon, Mar 28, 2011 at 10:14 AM, Holger Freyther <holger at freyther.de
> <mailto:holger at freyther.de>> wrote:
> So really quick question. Is there a way to statically populate the dev tree
> with the minimum of needed descriptors? A first try with mknod /jail/dev/null
> c 0... did not seem to work.
The question is about hierarchical jails. Having jail_NAME_devfs_enable="YES"
inside a jail is not working as devfs is not a jail friendly fs. So I mount
devfs as part of the /etc/fstab.MYJAIL on 'root' but then by default the whole
devfs will be visible to child jails.
So my two questions are really:
- In rc.conf is there a variable I can use to pass children.max=N to
one of the jails?
- Is there a way to have a 'default' devfs rule for certain
mountpoints? E.g. can a rule be applied at mount time?
More information about the freebsd-questions