Date: Wed, 12 May 2004 17:09:57 -0600 From: "Chad Leigh -- Shire.Net LLC" <chad@shire.net> To: freebsd-questions@freebsd.org Questions <freebsd-questions@freebsd.org> Subject: Re: devfs and jails Message-ID: <7CAF4CAE-A469-11D8-A0B4-003065A70D30@shire.net> In-Reply-To: <8C161CA5-A45C-11D8-A0B4-003065A70D30@shire.net> References: <8C161CA5-A45C-11D8-A0B4-003065A70D30@shire.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On May 12, 2004, at 3:37 PM, Chad Leigh -- Shire.Net LLC wrote: > Hi > > This is on 5.2-CURRENT > > I want to apply devfs rules to a jails /dev. I am starting my jails > manually and not through rc.conf (directly -- I have written my own rc > script to start my jails since I have a bunch of file system stuff > like mounting some localhost nfs and some md device mounts to do as > part of the launch). > > I noticed that /etc/defaults/devfs.rules has a default set of rules > that one might use with a jail, so I am starting there. It appears > that this is ruleset 4 > Since I am running my stuff inside an rc.d style script, and I noticed a bunch of devfs related routines in /etc/rc.subr I tried the following devfs_rulesets_from_file /etc/defaults/devfs.rules devfs_domount /jail/host/dev devfsrules_jail in my script. It does mount the devfs in the right place but it does not seem to apply the rules. An example would be appreciated if anyone else does this directly. Thanks Chad
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7CAF4CAE-A469-11D8-A0B4-003065A70D30>