Ganesh B: > reads sectors from an USB floppy. > ... if I remove the cable ... from the drive, > read system call never returns ... > After a while ... machine freezes ... reboot ... by power switch ... > same thing with USB CD drive ... system call ... reported an error. > O_NONBLOCK ... open(),
Hot unplugging! Fun, thank you. What is your `uname -msr`? And your `uname -a` for that matter? What are the device names that do and do not work? Perhaps they are "/dev/scd0" and "/dev/sda1"? > driver should ... detect whether the device has been removed "Should", aye. Pat LaVarre P.S. The Subject line of this thread may not be constructed per: http://www.catb.org/~esr/faqs/smart-questions.html ------------------------------------------------------- This SF.net email is sponsored by: Perforce Software. Perforce is the Fast Software Configuration Management System offering advanced branching capabilities and atomic changes on 50+ platforms. Free Eval! http://www.perforce.com/perforce/loadprog.html _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users