DragonFly commits List (threaded) for 2010-11
git: devfs - Add a destroy_dev_alias, remove hotplug
Author: Alex Hornung <email@example.com>
Date: Mon Nov 15 04:06:34 2010 +0000
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.
Summary of changes:
sys/kern/kern_conf.c | 16 +++
sys/sys/devfs.h | 7 +
sys/sys/device.h | 1 +
sys/vfs/devfs/devfs_core.c | 300 +++++++++++++++++++++++++++++++++++++------
sys/vfs/devfs/devfs_rules.c | 176 +-------------------------
5 files changed, 285 insertions(+), 215 deletions(-)
DragonFly BSD source repository