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 119166 2003-08-20 06:15:18Z mtm $
| 16# $FreeBSD: head/etc/defaults/devfs.rules 120463 2003-09-26 10:32:21Z phk $
|
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 25# Basic devices typically necessary. 26# Requires: devfsrules_hide_all 27# 28[devfsrules_unhide_basic=2] 29add path null unhide 30add path zero 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 25# Basic devices typically necessary. 26# Requires: devfsrules_hide_all 27# 28[devfsrules_unhide_basic=2] 29add path null unhide 30add path zero unhide
|
| 31add path crypto unhide
|
31add path random unhide 32add path urandom unhide 33 34# Devices typically needed to support logged-in users. 35# Requires: devfsrules_hide_all 36# 37[devfsrules_unhide_login=3] 38add path 'ptyp*' unhide
--- 26 unchanged lines hidden --- | 32add path random unhide 33add path urandom unhide 34 35# Devices typically needed to support logged-in users. 36# Requires: devfsrules_hide_all 37# 38[devfsrules_unhide_login=3] 39add path 'ptyp*' unhide
--- 26 unchanged lines hidden --- |