Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Oct 2006 20:07:46 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Ivan Voras <ivoras@fer.hr>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: /dev/null
Message-ID:  <20061006180746.GA14002@slackbox.xs4all.nl>
In-Reply-To: <eg5v3v$kj6$1@sea.gmane.org>
References:  <20061005224319.GB39057@math.jussieu.fr> <20061005204949.U18621@abigail.hsd1.mn.comcast.net> <eg52kp$dlv$1@sea.gmane.org> <20061006154133.GA10019@slackbox.xs4all.nl> <eg5v3v$kj6$1@sea.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061006180746.GA14002>