/dev/null

Roland Smith rsmith at xs4all.nl
Fri Oct 6 18:08:09 UTC 2006


On Fri, Oct 06, 2006 at 06:09:09PM +0200, Ivan Voras wrote:
> Roland Smith wrote:
> 
> >
> >The command 'devfs rule -s 2 apply 100' should fix it, I think.
> 
> ?
> 
> If I read devfs(8) correctly, this should apply rule 100 of ruleset 2. 
> 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
-- 
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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061006/2dbd1b3f/attachment.pgp


More information about the freebsd-stable mailing list