From owner-freebsd-stable@FreeBSD.ORG Fri Oct 6 18:08:09 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 50DB016A415 for ; Fri, 6 Oct 2006 18:08:09 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2C0BF43D45 for ; Fri, 6 Oct 2006 18:08:07 +0000 (GMT) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id k96I7kW8003353; Fri, 6 Oct 2006 20:07:46 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 69A48B84B; Fri, 6 Oct 2006 20:07:46 +0200 (CEST) Date: Fri, 6 Oct 2006 20:07:46 +0200 From: Roland Smith To: Ivan Voras Message-ID: <20061006180746.GA14002@slackbox.xs4all.nl> Mail-Followup-To: Ivan Voras , freebsd-stable@freebsd.org References: <20061005224319.GB39057@math.jussieu.fr> <20061005204949.U18621@abigail.hsd1.mn.comcast.net> <20061006154133.GA10019@slackbox.xs4all.nl> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.11 X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-stable@freebsd.org Subject: Re: /dev/null 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: Fri, 06 Oct 2006 18:08:09 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 06, 2006 at 06:09:09PM +0200, Ivan Voras wrote: > Roland Smith wrote: >=20 > > > >The command 'devfs rule -s 2 apply 100' should fix it, I think. >=20 > ? >=20 > If I read devfs(8) correctly, this should apply rule 100 of ruleset 2.=20 > Since I have no rulesets or rules, it doesn't work. :) Are you sure that you have no rulesets? I've made only one ruleset in /etc/devfs.rules, with the number 10. However, when I do have more rulesets: # devfs rule showsets 1 2 3 4 10 I guess these (except 10) are made during system startup or are system defaults. They are: # devfs rule -s 1 show 100 hide # devfs rule -s 2 show 100 path null unhide 200 path zero unhide 300 path crypto unhide 400 path random unhide 500 path urandom unhide # devfs rule -s 3 show 100 path ptyp* unhide 200 path ptyq* unhide 300 path ptyr* unhide 400 path ptys* unhide 500 path ptyP* unhide 600 path ptyQ* unhide 700 path ptyR* unhide 800 path ptyS* unhide 900 path ttyp* unhide 1000 path ttyq* unhide 1100 path ttyr* unhide 1200 path ttys* unhide 1300 path ttyP* unhide 1400 path ttyQ* unhide 1500 path ttyR* unhide 1600 path ttyS* unhide 1700 path fd unhide 1800 path fd/* unhide 1900 path stdin unhide 2000 path stdout unhide 2100 path stderr unhide # devfs rule -s 4 show 100 include 1 200 include 2 300 include 3 HTH, Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFJptyEnfvsMMhpyURAo+VAJ4/CKt5YDkbsCweOE8phQkG52/kxQCfeovL wAbeUMxv3k/osAQLuYA/Npk= =FLtv -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--