git: devfs - Add a destroy_dev_alias, remove hotplug

Alex Hornung alexh at crater.dragonflybsd.org
Mon Nov 15 10:06:03 PST 2010


commit 8312ca306f440d907355d8fb3d6a240019a24526
Author: Alex Hornung <ahornung at gmail.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(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8312ca306f440d907355d8fb3d6a240019a24526


-- 
DragonFly BSD source repository





More information about the Commits mailing list