git: devfs - Add a destroy_dev_alias, remove hotplug

看板DFBSD_commit作者時間15年前 (2010/11/20 09:33), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
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
文章代碼(AID): #1CvoLgXd (DFBSD_commit)