Reattach/redetect allways connected umass device - is it possible ?

M. Warner Losh imp at bsdimp.com
Tue Mar 29 00:06:58 PST 2005


In message: <39733.1112083324 at critter.freebsd.dk>
            "Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
: In message <20050329.010021.32059840.imp at bsdimp.com>, "M. Warner Losh" writes:
: >In message: <32733.1112019870 at critter.freebsd.dk>
: >            "Poul-Henning Kamp" <phk at phk.freebsd.dk> writes:
: >: >> Driver support for this is not really meaterialized and therefore
: >: >> the model now is that when the media is ejected the geom device
: >: >> is removed and a new one created right away, even if a new media
: >: >> is not inserted right away.
: >: >
: >: >Do you get eject notifications from any device type?
: >: 
: >: Right now I belive floppy disks DTRT.
: >
: >Isn't there hardware assist for this?
: 
: Only partial.

You should be getting a change notification on the first access after
the change happens...

Warner


More information about the freebsd-mobile mailing list