lkml.org 
[lkml]   [2003]   [Dec]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: 2.7 (future kernel) wish
From
On Sat, Dec 27, 2003 at 10:03:17PM -0500, 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.
>
> 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. I also believe Windows mounts any removable device
> synchronously so that if you do pull it out prematurely the damage done
> is limited.

I think the behavior of Win2k and WinXP is different for removable
devices. Win2k seems to use async writes, and complains a lot if you
remove them without stopping. XP seems to use sync writes, and doesn't
tend to complain much.

I haven't seen either one crash from pulling out flash cards from a card
reader (haven't tried a pen drive or similar). However, the media
drivers they use for the USB readers sometimes seem to get into a bad
state where they're continually writing until you unplug the device.

-J
-
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/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.104 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site