devd limitations / automounting removable storage
M. Warner Losh
imp at bsdimp.com
Tue Sep 16 22:35:28 PDT 2003
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.
More information about the freebsd-arch