Date: Thu, 24 Apr 2008 11:05:10 +0300 From: Andriy Gapon <avg@icyb.net.ua> To: John Baldwin <jhb@freebsd.org> Cc: freebsd-hackers@freebsd.org Subject: Re: devctl (alike?) for devfs Message-ID: <48103F36.6060707@icyb.net.ua> In-Reply-To: <480FBAB9.1000904@icyb.net.ua> References: <480E4269.2090604@icyb.net.ua> <200804230955.10390.jhb@freebsd.org> <480F8D23.9040005@icyb.net.ua> <200804231549.54722.jhb@freebsd.org> <480FBAB9.1000904@icyb.net.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48103F36.6060707>