From owner-freebsd-current@FreeBSD.ORG Fri Jan 30 15:50:54 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1E0A16A4CE; Fri, 30 Jan 2004 15:50:54 -0800 (PST) Received: from mail-in.m-online.net (mail-in.m-online.net [62.245.150.237]) by mx1.FreeBSD.org (Postfix) with ESMTP id C807D43D39; Fri, 30 Jan 2004 15:49:52 -0800 (PST) (envelope-from h@schmalzbauer.de) Received: from mail.m-online.net (svr14.m-online.net [192.168.3.144]) by svr8.m-online.net (Postfix) with ESMTP id 51A4D20106; Sat, 31 Jan 2004 00:49:51 +0100 (CET) Received: from cale.flintsbach.schmalzbauer.de (ppp-62-245-162-166.mnet-online.de [62.245.162.166]) by mail.m-online.net (Postfix) with ESMTP id 16C8C40639; Sat, 31 Jan 2004 00:49:51 +0100 (CET) From: Harald Schmalzbauer To: current@freebsd.org Date: Sat, 31 Jan 2004 00:49:46 +0100 User-Agent: KMail/1.5.4 References: <200401310017.05183@harrymail> In-Reply-To: <200401310017.05183@harrymail> X-Birthday: 06 Oktober 1972 X-Name: Harald Schmalzbauer X-Phone1: +49 (0) 163 555 3237 X-Phone2: +49 (0) 89 18947781 X-Address: Munich, 80686 X-Country: Germany MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_e2uGAVrQzLAwigC"; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <200401310049.50671@harrymail> cc: questions@freebsd.org Subject: Re: devfs problem X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2004 23:50:54 -0000 --Boundary-02=_e2uGAVrQzLAwigC Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Description: signed data Content-Disposition: inline On Saturday 31 January 2004 00:17, Harald Schmalzbauer wrote: > Hi all, > > I have devfs mounted at /somepint/ip/dev and ls shows: > > acpi cuala0 net1 stdout ttyv2 twed0s1 > agpgart cuala1 net2 sysmouse ttyv3 twed0s1a > apm devctl network ttyd0 ttyv4 twed0s1b > ast0 devstat null ttyd1 ttyv5 twed0s1c > ata fd pci ttyid0 ttyv6 twed0s1d > console geom.ctl perfmon ttyid1 ttyv7 twed0s1e > consolectl io ptyp0 ttyld0 ttyv8 twed0s1f > ctty klog ptyp1 ttyld1 ttyv9 twed0s1g > cuaa0 kmem random ttyp0 ttyva twed0s1h > cuaa1 mem smb0 ttyp1 ttyvb urandom > cuaia0 nast0 stderr ttyv0 twe0 xpt0 > cuaia1 net stdin ttyv1 twed0 zero > > > "devfs rule show" print: > 100 hide > > I expected after a "devfs -m /somepoint/ip/dev rule applyset" that I don't > see a device anymore. > > What am I doing wrong? > > Also the jail_ip_devfs_ruleset=3D"4" line in /etc/rc.conf didn't work for= me. Arghh, found the mistake. The example in /etc/default/rc.conf shows a numbe= r=20 for "jail_example_devfs_ruleset=3D123". But it should be the name of the rule so I think the line should be correct= ed=20 by: jail_example_devfs_ruleset=3D"devfsrules_hide_all" Or a dummy example-entry in /etc/defaults/devfs.rules =2DHarry > > Thanks in advance, > > -Harry --Boundary-02=_e2uGAVrQzLAwigC Content-Type: application/pgp-signature Content-Description: signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQBAGu2eBylq0S4AzzwRAkPoAJ0bdTTcYMAn2dbaQuEUDgcNuFZoNACeNxcX DgTyRQRVbargQzvyuq+I+0A= =RJFb -----END PGP SIGNATURE----- --Boundary-02=_e2uGAVrQzLAwigC--