devctl (alike?) for devfs

Andriy Gapon avg at icyb.net.ua
Thu Apr 24 08:05:12 UTC 2008


on 24/04/2008 01:39 Andriy Gapon said the following:
> on 23/04/2008 22:49 John Baldwin said the following:
>> Events have a subsystem associated with them, so devfs events would use their 
>> own subsystem type to avoid that sort of confusion.
> 
> Thank you for straightening me - for some reason I was thinking about
> "+"/"-" (attach/detach) events, but I see that "!" (notification) would
> be much more appropriate. As you said, this can be completely modeled
> after IF notifications.

Do you think it would be better to post notification from make_dev*() in
kern_conf.c or from devfs_create()?
I mean will such notification be useful if there is no devfs to access
the device from userland?


-- 
Andriy Gapon


More information about the freebsd-hackers mailing list