Date: Thu, 19 May 2005 09:18:49 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: nate@root.org Cc: current@FreeBSD.org Subject: Re: Patch to make powerd(8) devd(8)-aware Message-ID: <20050519.091849.115908750.imp@bsdimp.com> In-Reply-To: <428C1EA6.7020907@root.org> References: <428C1EA6.7020907@root.org>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <428C1EA6.7020907@root.org>
Nate Lawson <nate@root.org> writes:
: I appreciate you working on a patch for this. However, I'd prefer the
: work on the devd side go into making devctl a clonable device or follow
: the bpf route and hook up /dev/devctl0,1,2,... If you start using the
: /var/run/devd.pipe, it's not available for other consumers.
Actually, you can have multiple devd.pipe consumers. That's the whole
point of the devd.pipe: to allow as many people as desire the stream
of events from the kernel. Making devctl clonable in the kernel is
more of a pita because you have one producer and many readers and all
the assoicated bookkeeping.
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050519.091849.115908750.imp>
