devfs - Add a destroy_dev_alias, remove hotplug
authorAlex Hornung <ahornung@gmail.com>
Mon, 15 Nov 2010 04:06:34 +0000 (04:06 +0000)
committerAlex Hornung <ahornung@gmail.com>
Mon, 15 Nov 2010 18:03:17 +0000 (18:03 +0000)
commit8312ca306f440d907355d8fb3d6a240019a24526
tree506dd38e063fcf7baf1faf0e94f869c2880b0052
parentf8ca964d3c6a24bf015fb97e5267c476e6fc4b0e
devfs - Add a destroy_dev_alias, remove hotplug

* Move the wildCmp* functions into devfs_core and expose them to the
  whole of devfs, but renamed as devfs_wildCmp*.

* Add a destroy_dev_alias functionality that will remove specific
  aliases to a cdev that match a given wild string.

* Remove the whole hotplug magic since it was broken already for systems
  with several devfs mount points (it would receive several attaches,
  one for each mount point). It is also redundant now that udev/devattr
  provides that functionality.
sys/kern/kern_conf.c
sys/sys/devfs.h
sys/sys/device.h
sys/vfs/devfs/devfs_core.c
sys/vfs/devfs/devfs_rules.c