From owner-freebsd-current@FreeBSD.ORG Tue Jan 25 17:10:56 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6381F16A4CE for ; Tue, 25 Jan 2005 17:10:56 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAFAF43D3F for ; Tue, 25 Jan 2005 17:10:55 +0000 (GMT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id j0PHATMJ006525; Tue, 25 Jan 2005 12:10:29 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)j0PHAS01006522; Tue, 25 Jan 2005 17:10:28 GMT (envelope-from robert@fledge.watson.org) Date: Tue, 25 Jan 2005 17:10:28 +0000 (GMT) From: Robert Watson X-Sender: robert@fledge.watson.org To: Poul-Henning Kamp In-Reply-To: <88226.1106672949@critter.freebsd.dk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: pete@altadena.net cc: Warner Losh cc: current@FreeBSD.org cc: imp@bsdimp.com Subject: Re: Devd event from GEOM? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2005 17:10:56 -0000 On Tue, 25 Jan 2005, Poul-Henning Kamp wrote: > In message <20050125.100128.85358998.imp@harmony.village.org>, Warner Losh writes: > >> We already have the type field in cdevsw, that's what FIODTYPE returns. > > > >Is there some way we could export that to userland without having to > >open the device? > > devfs could relay it to devd along with the name. I think the only interesting objection to this comes in the event that we're interested in events on objects not appearing in devfs. If we think devd is going to learn about routing sockets, that eliminates the one main source of discomfort I have with devd today -- I don't want devd to key network actions to things in /dev/net, I want it to key them to events coming from the network subsystem. Robert N M Watson