From owner-freebsd-arch@FreeBSD.ORG Tue Sep 16 22:35:28 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 D285816A4B3 for ; Tue, 16 Sep 2003 22:35:28 -0700 (PDT) Received: from harmony.village.org (rover.bsdimp.com [204.144.255.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0B62B43F85 for ; Tue, 16 Sep 2003 22:35:28 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.9/8.12.3) with ESMTP id h8H5ZQTX088675; Tue, 16 Sep 2003 23:35:27 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Tue, 16 Sep 2003 23:35:28 -0600 (MDT) Message-Id: <20030916.233528.64215542.imp@bsdimp.com> To: bms@spc.org From: "M. Warner Losh" In-Reply-To: <20030916232724.GG3052@saboteur.dek.spc.org> References: <20030916232724.GG3052@saboteur.dek.spc.org> X-Mailer: Mew version 2.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 05:35:28 -0000 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. Warner