devfs.rules (181905) | devfs.rules (201522) |
---|---|
1# 2# The following are some default rules for devfs(5) mounts. 3# The format is very simple. Empty lines and lines beginning 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 beginning 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 181905 2008-08-20 08:31:58Z ed $ | 16# $FreeBSD: head/etc/defaults/devfs.rules 201522 2010-01-04 18:21:27Z jhb $ |
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 --- 14 unchanged lines hidden (view full) --- 39add path 'ptyp*' unhide 40add path 'ptyq*' unhide 41add path 'ptyr*' unhide 42add path 'ptys*' unhide 43add path 'ptyP*' unhide 44add path 'ptyQ*' unhide 45add path 'ptyR*' unhide 46add path 'ptyS*' 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 --- 14 unchanged lines hidden (view full) --- 39add path 'ptyp*' unhide 40add path 'ptyq*' unhide 41add path 'ptyr*' unhide 42add path 'ptys*' unhide 43add path 'ptyP*' unhide 44add path 'ptyQ*' unhide 45add path 'ptyR*' unhide 46add path 'ptyS*' unhide |
47add path 'ptyl*' unhide 48add path 'ptym*' unhide 49add path 'ptyn*' unhide 50add path 'ptyo*' unhide 51add path 'ptyL*' unhide 52add path 'ptyM*' unhide 53add path 'ptyN*' unhide 54add path 'ptyO*' unhide |
|
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 'ttyp*' unhide 56add path 'ttyq*' unhide 57add path 'ttyr*' unhide 58add path 'ttys*' unhide 59add path 'ttyP*' unhide 60add path 'ttyQ*' unhide 61add path 'ttyR*' unhide 62add path 'ttyS*' unhide |
63add path 'ttyl*' unhide 64add path 'ttym*' unhide 65add path 'ttyn*' unhide 66add path 'ttyo*' unhide 67add path 'ttyL*' unhide 68add path 'ttyM*' unhide 69add path 'ttyN*' unhide 70add path 'ttyO*' unhide |
|
55add path ptmx unhide 56add path pts unhide 57add path 'pts/*' unhide 58add path fd unhide 59add path 'fd/*' unhide 60add path stdin unhide 61add path stdout unhide 62add path stderr unhide 63 64# Devices usually found in a jail. 65# 66[devfsrules_jail=4] 67add include $devfsrules_hide_all 68add include $devfsrules_unhide_basic 69add include $devfsrules_unhide_login | 71add path ptmx unhide 72add path pts unhide 73add path 'pts/*' unhide 74add path fd unhide 75add path 'fd/*' unhide 76add path stdin unhide 77add path stdout unhide 78add path stderr unhide 79 80# Devices usually found in a jail. 81# 82[devfsrules_jail=4] 83add include $devfsrules_hide_all 84add include $devfsrules_unhide_basic 85add include $devfsrules_unhide_login |