devd limitations / automounting removable storage

John Baldwin jhb at FreeBSD.org
Wed Sep 17 11:36:03 PDT 2003


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


More information about the freebsd-arch mailing list