DragonFly BSD
DragonFly commits List (threaded) for 2010-11
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: devfs - Add a destroy_dev_alias, remove hotplug


From: Alex Hornung <alexh@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 15 Nov 2010 10:04:50 -0800 (PST)

commit 8312ca306f440d907355d8fb3d6a240019a24526
Author: Alex Hornung <ahornung@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]