Deleted Added
full compact
devfs.rules (120463) devfs.rules (124843)
1#
2# The following are some default rules for devfs(5) mounts.
3# The format is very simple. Empty lines and lines begining
4# with a hash '#' are ignored. If the hash mark occurs anywhere
5# other than the beginning of a line, it and any subsequent
6# characters will be ignored. A line in between brackets '[]'
7# denotes the beginning of a ruleset. In the brackets should
8# be a name for the rule and its ruleset number. Any other lines
9# will be considered to be the 'action' part of a rule
10# passed to the devfs(8) command. These will be passed
11# "as-is" to the devfs(8) command with the exception that
12# any references to other rulesets will be expanded first. These
13# references must include a dollar sign '$' in-front of the
14# name to be expanded properly.
15#
1#
2# The following are some default rules for devfs(5) mounts.
3# The format is very simple. Empty lines and lines begining
4# with a hash '#' are ignored. If the hash mark occurs anywhere
5# other than the beginning of a line, it and any subsequent
6# characters will be ignored. A line in between brackets '[]'
7# denotes the beginning of a ruleset. In the brackets should
8# be a name for the rule and its ruleset number. Any other lines
9# will be considered to be the 'action' part of a rule
10# passed to the devfs(8) command. These will be passed
11# "as-is" to the devfs(8) command with the exception that
12# any references to other rulesets will be expanded first. These
13# references must include a dollar sign '$' in-front of the
14# name to be expanded properly.
15#
16# $FreeBSD: head/etc/defaults/devfs.rules 120463 2003-09-26 10:32:21Z phk $
16# $FreeBSD: head/etc/defaults/devfs.rules 124843 2004-01-22 20:53:15Z cperciva $
17#
18
19# Very basic and secure ruleset: Hide everything.
20# Used as a basis for other rules.
21#
22[devfsrules_hide_all=1]
23add hide
24

--- 22 unchanged lines hidden (view full) ---

47add path 'ttyp*' unhide
48add path 'ttyq*' unhide
49add path 'ttyr*' unhide
50add path 'ttys*' unhide
51add path 'ttyP*' unhide
52add path 'ttyQ*' unhide
53add path 'ttyR*' unhide
54add path 'ttyS*' unhide
17#
18
19# Very basic and secure ruleset: Hide everything.
20# Used as a basis for other rules.
21#
22[devfsrules_hide_all=1]
23add hide
24

--- 22 unchanged lines hidden (view full) ---

47add path 'ttyp*' unhide
48add path 'ttyq*' unhide
49add path 'ttyr*' unhide
50add path 'ttys*' unhide
51add path 'ttyP*' unhide
52add path 'ttyQ*' unhide
53add path 'ttyR*' unhide
54add path 'ttyS*' unhide
55add path fd unhide
55add path 'fd/*' unhide
56add path stdin unhide
57add path stdout unhide
58add path stderr unhide
59
60# Devices usually found in a jail.
61#
62[devfsrules_jail=4]
63add include $devfsrules_hide_all
64add include $devfsrules_unhide_basic
65add include $devfsrules_unhide_login
56add path 'fd/*' unhide
57add path stdin unhide
58add path stdout unhide
59add path stderr unhide
60
61# Devices usually found in a jail.
62#
63[devfsrules_jail=4]
64add include $devfsrules_hide_all
65add include $devfsrules_unhide_basic
66add include $devfsrules_unhide_login