Operate on the ruleset with the number ruleset. If this is not specified, the commands operate on the ruleset currently associated with the specified mount-point.
The following commands are recognized:
Add the rule described by rulespec (defined below) to the ruleset. The rule has the number rulenum if it is explicitly specified; otherwise, the rule number is automatically determined by the kernel.
rule apply rulenum | rulespec
Apply rule number rulenum or the rule described by rulespec to the mount-point. Rules that are "applied" have their conditions checked against all nodes in the mount-point and the actions taken if they match.
Apply all the rules in the ruleset to the mount-point (see above for the definition of "apply").
rule del rulenum
Delete rule number rulenum from the ruleset.
Delete all rules from the ruleset.
rule show [rulenum]
Display the rule number rulenum, or all the rules in the ruleset. The output lines (one line per rule) are expected to be valid rulespec s.
Report the numbers of existing rulesets.
Set ruleset number ruleset as the current ruleset for the mount-point.