Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Apr 2008 08:11:26 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Andriy Gapon <avg@icyb.net.ua>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: devctl (alike?) for devfs
Message-ID:  <200804240811.26183.jhb@freebsd.org>
In-Reply-To: <48103F36.6060707@icyb.net.ua>
References:  <480E4269.2090604@icyb.net.ua> <480FBAB9.1000904@icyb.net.ua> <48103F36.6060707@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 24 April 2008 04:05:10 am Andriy Gapon wrote:
> 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?

I'm not sure.  Probably just make_dev*() as all systems will have a devfs 
on /dev.

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200804240811.26183.jhb>