Lines Matching full:rule

58 most of the commands related to the rule subsystem must be preceded by the
59 .Cm rule
74 .Ss Rule Subsystem
77 rule subsystem provides a way for the administrator of a system to control
93 .Ss Rule Manipulation
94 Rule manipulation commands follow the
95 .Cm rule
97 The following flags are common to all of the rule manipulation commands:
109 .It Cm rule add Oo Ar rulenum Oc Ar rulespec
110 Add the rule described by
114 The rule has the number
117 otherwise, the rule number is automatically determined by the kernel.
118 .It Cm rule apply Ar rulenum | rulespec
119 Apply rule number
121 or the rule described by
128 .It Cm rule applyset
132 .It Cm rule del Ar rulenum
133 Delete rule number
136 .It Cm rule delset
138 .It Cm rule show Op Ar rulenum
139 Display the rule number
142 The output lines (one line per rule) are expected to be valid
144 .It Cm rule showsets
151 .Ss Rule Specification
153 The conditions determine which DEVFS nodes the rule matches
154 and the actions determine what should be done when a rule matches a node.
155 For example, a rule can be written that sets the GID to
158 If the first token of a rule specification is a single dash
230 E.g., a ruleset is created when a rule is added to it or when it is set
232 a ruleset is destroyed when the last rule in it is deleted
285 Add a rule that causes all nodes that have a path that matches
291 unless this rule (or ruleset) is explicitly applied (see below).
296 the rule is added
299 module is loaded after the above rule is added):
301 .Dl "devfs rule add path speaker mode 666"
304 E.g., if the below rule was added after
308 as prescribed by the rule:
310 .Dl "devfs rule applyset"
325 .Dl devfs rule add path "snp*" mode 660 group snoopers
327 Add a rule to ruleset number 20.
329 this rule is never applied automatically (unless ruleset 20 becomes
332 .Dl "devfs rule -s 20 add type disk group wheel"
339 .Dl "devfs -m /my/jail/dev rule -s 20 applyset"
341 Since the following rule has no conditions, the action
345 .Dl "devfs rule apply hide"
353 .Dl "devfs rule apply unhide"
359 .Dl "devfs rule -s 10 add - < my_rules"
362 The rule numbers are preserved,
370 .Dl "devfs rule -s 20 show | devfs rule -s 10 add -"