Date: Sat, 31 Jan 2004 00:49:46 +0100 From: Harald Schmalzbauer <h@schmalzbauer.de> To: current@freebsd.org Cc: questions@freebsd.org Subject: Re: devfs problem Message-ID: <200401310049.50671@harrymail> In-Reply-To: <200401310017.05183@harrymail> References: <200401310017.05183@harrymail>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200401310049.50671>