From owner-freebsd-current@FreeBSD.ORG Tue Jan 25 16:53:05 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 1287D16A4CE; Tue, 25 Jan 2005 16:53:05 +0000 (GMT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id A682F43D1D; Tue, 25 Jan 2005 16:53:04 +0000 (GMT) (envelope-from imp@harmony.village.org) Received: from localhost (localhost [IPv6:::1]) by harmony.village.org (8.13.1/8.13.1) with ESMTP id j0PGoJ8T053070; Tue, 25 Jan 2005 09:50:19 -0700 (MST) (envelope-from imp@harmony.village.org) Date: Tue, 25 Jan 2005 09:50:19 -0700 (MST) Message-Id: <20050125.095019.71141844.imp@harmony.village.org> To: rwatson@freebsd.org From: Warner Losh In-Reply-To: References: <20050125.080053.29499868.imp@bsdimp.com> X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Wed, 26 Jan 2005 13:11:07 +0000 cc: pete@altadena.net 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 16:53:05 -0000 > each abstraction layer can declare the events it knows about. newbus > announces "I found a route to a physical device", GEOM shouts "And I found > some storage space on it", etc. Actually, GEOM will announce all the layers as well, since it is an onion sort of thing. For the degenerate case of FAT on FLASH Stick, it is easy, because you don't see the layers. But I routinely plug in CF cards that have FreeBSD file systems on them, as well as an emergency DOS partition. Those sort of cases make whatever automounting daemon need to grow a lot of brains, and will have multiple events. Warner