From owner-freebsd-stable@FreeBSD.ORG Tue Mar 28 09:27:31 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2CFAD16A401 for ; Tue, 28 Mar 2006 09:27:31 +0000 (UTC) (envelope-from simon@zaphod.nitro.dk) Received: from mx.nitro.dk (zarniwoop.nitro.dk [83.92.207.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC88B43D45 for ; Tue, 28 Mar 2006 09:27:30 +0000 (GMT) (envelope-from simon@zaphod.nitro.dk) Received: from zaphod.nitro.dk (unknown [192.168.3.18]) by mx.nitro.dk (Postfix) with ESMTP id 240102D487F; Tue, 28 Mar 2006 09:26:14 +0000 (UTC) Received: by zaphod.nitro.dk (Postfix, from userid 3000) id 6205011422; Tue, 28 Mar 2006 11:27:27 +0200 (CEST) Date: Tue, 28 Mar 2006 11:27:27 +0200 From: "Simon L. Nielsen" To: "Marc G. Fournier" Message-ID: <20060328092726.GA981@zaphod.nitro.dk> References: <20060327230402.X947@ganymede.hub.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tThc/1wpZn/ma/RB" Content-Disposition: inline In-Reply-To: <20060327230402.X947@ganymede.hub.org> User-Agent: Mutt/1.5.11 Cc: freebsd-stable@freebsd.org Subject: Re: devfs on /my/jail/dev ... X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Mar 2006 09:27:31 -0000 --tThc/1wpZn/ma/RB Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2006.03.27 23:18:21 -0400, Marc G. Fournier wrote: >=20 > I'm missing something here ... I've looked in /etc/defaults/devfs.conf,= =20 > and found that ruleset 4 is what I want for a jail ... so, I issue: >=20 > devfs -m /vm/.t19/dev ruleset 4 I can't remember the details right now (other than it's easy to do it wrong), but basically you need to both filter the existing device entries and set a ruleset for new entries. I would suggest simply looking at how the jail rc.d script sets up the devfs and reading the entire devfs manual page a few times, or even better simply use the jail rc.d script to set it up. --=20 Simon L. Nielsen --tThc/1wpZn/ma/RB Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEKQF+h9pcDSc1mlERAvRYAKCDfLHaFlsnn24xryi46VxxBCNGNwCfSiJK MV37XoabjA0k1VnaD+9DjwA= =sLI3 -----END PGP SIGNATURE----- --tThc/1wpZn/ma/RB--