Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Sep 2003 14:36:01 -0400 (EDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: devd limitations / automounting removable storage
Message-ID:  <XFMail.20030917143601.jhb@FreeBSD.org>
In-Reply-To: <20030916.233528.64215542.imp@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On 17-Sep-2003 M. Warner Losh wrote:
> In message: <20030916232724.GG3052@saboteur.dek.spc.org>
>             Bruce M Simpson <bms@spc.org> 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 <jhb@FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.20030917143601.jhb>