From owner-freebsd-arch@FreeBSD.ORG Wed Sep 17 11:36:03 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 9B8A916A4B3 for ; Wed, 17 Sep 2003 11:36:03 -0700 (PDT) Received: from mail.speakeasy.net (mail10.speakeasy.net [216.254.0.210]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD6E543FBD for ; Wed, 17 Sep 2003 11:36:02 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 10941 invoked from network); 17 Sep 2003 18:36:02 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 17 Sep 2003 18:36:02 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.9/8.12.9) with ESMTP id h8HIZx6Y083262; Wed, 17 Sep 2003 14:35:59 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20030916.233528.64215542.imp@bsdimp.com> Date: Wed, 17 Sep 2003 14:36:01 -0400 (EDT) From: John Baldwin To: "M. Warner Losh" X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: bms@spc.org 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: Wed, 17 Sep 2003 18:36:03 -0000 On 17-Sep-2003 M. Warner Losh wrote: > In message: <20030916232724.GG3052@saboteur.dek.spc.org> > Bruce M Simpson writes: >: Any objections to adding devd notifications to the CAM layer? It would >: allow us to automount such devices. Specifically I'm thinking that a >: program to change the running automounter map could be used. > > I'd make them different types of events. I'd also prototype it up to > see how bad things get. > > In the long term, we want CAM to be newbus. > > However, in the long term we'd also like to move away from doing > things to devices, and more towards doing things on the resources they > provide to the system. When a network interface appears, we should > use that event, not that a driver attached. > > The simple devd detach/attachment stuff we do now gets us a lot of > bang for the buck, but there are limitations. Maybe have GEOM send events when mountable entities show up? -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/