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

"M. Warner Losh" <[email protected]>
Newsgroups gmane.os.freebsd.current,gmane.os.freebsd.devel.mobile
Message-ID <[email protected]>
In message: <[email protected]>
            "Poul-Henning Kamp" <[email protected]> writes:
: In message <[email protected]>, Bernd Walter writes:
: 
: >> camcontrol detach da0; camcontrol rescan all 
: >> helps, but, it should be much better if it will be issued automatically.
: >
: >Yes - GEOM seems to ignore media change signals from drives.
: >I've added PHK to the recipient list - maybe he has an idea about this
: >problem.
: 
: No, GEOM doesn't ignore any such thing, because as far as I know
: GEOM doesn't get any such thing to ignore in the first place.

The usb dongles don't appear to 'generate media gone on walkabout
events' as far as I've seen.  However, we should investigate the
possibility of querying the status for at each open, and updating the
geometry, et al, if it has changed.  This kind of polling would be
'lazy' so it wouldn't interfere with other parts of the system, but it
would likely be sufficient (since eject in the middle of I/O will
generate an I/O error).

Warner
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.