devd limitations / automounting removable storage

M. Warner Losh imp at bsdimp.com
Thu Sep 18 07:40:27 PDT 2003


In message: <1063881095.12179.5.camel at builder02.qubesoft.com>
            Doug Rabson <dfr at nlsystems.com> writes:
: Surely the right thing would be to use the same wheel (newbus) for all
: the probing, driver auction, device attachment jobs in the kernel. That
: would seemlessly allow devd to receive device notification events for
: geom's leaf partitions in exactly the same way that it receives all
: other notification events.

I tend to agree with the CAM/ata controller bit.  Both were written
before newbus was well integrated into the tree.  It makes no sense
that fdc has an fd newbus child but ata doesn't have an ad child.

However, having said that, I think we do need additional event types
because we're doing with different name spaces.  But those events
might be in devd rather than devctl given that we can get those events
in userland in other ways if my investigations are OK.

Warner


More information about the freebsd-arch mailing list