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]>, "M. Warner Losh" writes:
: 
: >Then we'd have to poll every second in a sane way to accomplish that.
: >And finding the sane way that doesn't interfere with other bus usage
: >may be tricky.
: >
: >Unless we're going to give events to the actual user (meaning userland
: >entities that inform the user in a friendly way), I'd maintain that
: >there's no difference between knowing that the media is ejected
: >immediately, and the time of next use.  The user experience will be
: >the same either way.
: 
: The filesystems could get an upcall now when the disk disappears,
: but I have not had time to try to implement this sensibly in any
: filesystems yet.

This would be useful.

: >In the short run, however, adding a few checks to critical parts of
: >the path, like daopen, would make the user experience much better.
: 
: Absolutely, I just get uncomfortable when I see too much "...we can
: get away with...", I want us to stay the UNIX that solves problems
: the right way.

engineering is always a tradeoff between what we can easily get done
to ease current pain, versus what we can get done later and better,
but with more pain to the user between now and then.

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.