mount_devfs - Complete functionality; integrate rule support
authorAlex Hornung <ahornung@gmail.com>
Fri, 14 Aug 2009 16:27:29 +0000 (17:27 +0100)
committerAlex Hornung <ahornung@gmail.com>
Mon, 17 Aug 2009 09:15:29 +0000 (10:15 +0100)
commit85819c59e13d33bfebc7dabfd93539fb447b779b
treef9b60f1840c757b331f9d1e5529ce20e8eaaa111
parent84ba2ba80ebf23f6b60e6ab61e1e6283eb4cb9cc
mount_devfs - Complete functionality; integrate rule support

* add support for -o ruleset=... and -o jail.

* After a successful mount, rules are cleared for that mount point
  and if -o ruleset=foo was specified, the rules in foo are applied
  to the mount point.

* Also do this if a devfs mp is being remounted, don't bother calling
  mount, just do the rule magic.
sbin/mount_devfs/mount_devfs.c