Messages in this thread | | | Subject | Re: 2.7 (future kernel) wish | From | Rob Love <> | Date | Sat, 27 Dec 2003 22:11:13 -0500 |
| |
On Sat, 2003-12-27 at 22:03, Jim Crilly wrote:
> Generally it just complains that you pulled out the device prematurely, > I've never seen one give a STOP error from that but I guess a bad driver > or USB controller could cause anything.
It would be pretty easy to screw things up if you pull out a device in the middle of use.
> When you insert a device like a USB stick Windows puts a little icon > next to the clock in the system tray that you're supposed to use to stop > the device before pulling it, effectively it unmounts and stops (or > atleast releases the device from) the driver so the device can be > 'safely' removed.
This is useful, and something I think we need on the Linux desktop (stay tuned).
> I also believe Windows mounts any removable device > synchronously so that if you do pull it out prematurely the damage done > is limited.
Eww, I hope not, that would be excruciatingly slow. It might adjust the buffer writeback to be really short (even nearly immediate) but synchronous I/O is a different story, and much slower.
Rob Love
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |