mtm ca8f17fdde Add a general mechanism for creating and applying
devfs(8) rules in rc(8). It is most useful for applying
rules to devfs(5) mount points in /dev or inside jails.
The following line of script is sufficient to
mount a relatively useful+secure devfs(5) in a jail:

	devfs_mount_jail /some/jail/dev

Some new shell routines available to scripts that source
rc.subr(5):
	o devfs_link		- Makes it a little easier to create symlinks
	o devfs_init_rulesets	- Create devfs(8) rulesets from devfs.rules
	o devfs_set_ruleset	- Set a ruleset to a devfs(5) mount
	o devfs_apply_ruleset	- Apply a ruleset to a devfs(5) mount
	o devfs_domount		- Mount devfs(5) and apply some ruleset
	o devfs_mount_jail	- Mount devfs(5) and apply a ruleset
				  appropriate to jails.

Additional rulesets can be specified in /etc/devfs.rules.
If the devfs_system_ruleset variable is defined in rc.conf
and it contains the name of a ruleset defined in /etc/defaults/devfs.rules
or user supplied rulesets in /etc/devfs.rules then that ruleset will
be applied to /dev at startup by the /etc/rc.d/devfs script. It can
also be applied post-startup:

	/etc/rc.d/devfs start

This is a more flexible mechanism than the previous method of using
/etc/devfs.conf. However, that method is still available.

Note: since devfs(8) doesn't provide any way for creating symlinks
as part of a ruleset, anyone wishing to create symlinks in a devfs(5)
as part of the bootup sequence will still have to rely on /etc/devfs.conf.
2003-08-20 06:15:18 +00:00
..
2002-10-12 10:31:31 +00:00
2002-10-12 10:31:31 +00:00
2002-06-21 19:07:21 +00:00
amd
2002-10-12 10:31:31 +00:00
2002-10-12 10:31:31 +00:00
2002-10-12 10:31:31 +00:00
2002-10-12 13:49:21 +00:00
2002-06-21 19:07:21 +00:00
2002-06-21 19:07:21 +00:00
2003-02-15 16:34:14 +00:00
2002-06-21 19:07:21 +00:00
2002-06-21 19:07:21 +00:00
2002-10-12 10:31:31 +00:00
2002-06-21 19:07:21 +00:00
2003-08-07 21:06:32 +00:00
kdc
2002-06-21 19:07:21 +00:00
2003-04-18 17:55:05 +00:00
2003-05-06 02:28:03 +00:00
2002-06-21 19:07:21 +00:00
2002-10-17 23:46:32 +00:00
2003-08-06 00:35:13 +00:00
2003-08-06 00:35:13 +00:00
2003-01-20 18:57:16 +00:00
2002-10-12 13:49:21 +00:00
2003-08-06 00:35:13 +00:00
2002-06-21 19:07:21 +00:00
2002-06-21 19:07:21 +00:00
2002-10-12 10:31:31 +00:00
2002-06-21 19:07:21 +00:00
2003-08-06 00:35:13 +00:00
2002-06-21 19:07:21 +00:00
2002-10-12 10:31:31 +00:00
2003-01-20 18:57:16 +00:00
2002-10-12 10:31:31 +00:00
2002-10-12 10:31:31 +00:00
2002-10-12 10:31:31 +00:00
2002-10-12 10:31:31 +00:00
2002-06-21 19:07:21 +00:00
ppp
2003-04-18 17:55:05 +00:00
2003-04-18 17:55:05 +00:00
2002-06-21 19:07:21 +00:00
2002-10-12 10:31:31 +00:00
2002-06-21 19:07:21 +00:00
2002-06-21 19:07:21 +00:00
2003-04-18 17:55:05 +00:00
2002-06-21 19:07:21 +00:00
2002-06-21 19:07:21 +00:00
2003-01-25 20:02:35 +00:00
2003-02-15 16:34:14 +00:00
2002-06-21 19:07:21 +00:00
2002-06-21 19:07:21 +00:00
2002-06-21 19:07:21 +00:00
2002-10-12 10:31:31 +00:00
2002-10-12 13:49:21 +00:00
2003-04-18 17:55:05 +00:00
2003-01-20 18:57:16 +00:00
2002-06-21 19:07:21 +00:00
2002-09-09 22:40:34 +00:00
2002-06-21 19:07:21 +00:00
2002-10-01 13:29:45 +00:00
2002-06-21 19:07:21 +00:00
tmp
2003-02-15 16:34:14 +00:00
var
2003-02-15 16:34:14 +00:00
2003-06-26 09:50:52 +00:00
2002-10-12 10:31:31 +00:00
xdm
xfs
2002-06-21 19:07:21 +00:00