From owner-freebsd-arch@FreeBSD.ORG Thu Sep 18 07:49:20 2003 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 860DA16A4B3 for ; Thu, 18 Sep 2003 07:49:20 -0700 (PDT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF6F843FD7 for ; Thu, 18 Sep 2003 07:49:19 -0700 (PDT) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.9/8.12.9) with ESMTP id h8IElmN6060955; Thu, 18 Sep 2003 10:47:48 -0400 (EDT) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)h8IElmpq060952; Thu, 18 Sep 2003 10:47:48 -0400 (EDT) Date: Thu, 18 Sep 2003 10:47:48 -0400 (EDT) From: Robert Watson X-Sender: robert@fledge.watson.org To: "M. Warner Losh" In-Reply-To: <20030918.084025.71552256.imp@bsdimp.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: bms@spc.org cc: phk@phk.freebsd.dk cc: freebsd-arch@freebsd.org Subject: Re: devd limitations / automounting removable storage X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2003 14:49:20 -0000 On Thu, 18 Sep 2003, M. Warner Losh wrote: > In message: <1063881095.12179.5.camel@builder02.qubesoft.com> > Doug Rabson writes: > : Surely the right thing would be to use the same wheel (newbus) for all > : the probing, driver auction, device attachment jobs in the kernel. That > : would seemlessly allow devd to receive device notification events for > : geom's leaf partitions in exactly the same way that it receives all > : other notification events. > > I tend to agree with the CAM/ata controller bit. Both were written > before newbus was well integrated into the tree. It makes no sense that > fdc has an fd newbus child but ata doesn't have an ad child. > > However, having said that, I think we do need additional event types > because we're doing with different name spaces. But those events might > be in devd rather than devctl given that we can get those events in > userland in other ways if my investigations are OK. For ifnet events, we can use routing sockets. I don't know that we have GEOM events as yet. One reason to separately handle GEOM from devfs would be that GEOM "objects" tend to be storage devices or related notions, whereas devfs entries could be any number of things. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Network Associates Laboratories