Re: 2.7 (future kernel) wish

From: Helge Hafting
Date: Tue Dec 30 2003 - 09:09:30 EST


On Sat, Dec 27, 2003 at 10:03:17PM -0500, Jim Crilly wrote:
> >
> >Sometimes Windows 2k or XP dump (BSOD), or maybe you just get an error.
> >
> >
> >
> Generally it just complains that you pulled out the device prematurely,

Depends on what the device is used for, I guess.

> I've never seen one give a STOP error from that but I guess a bad driver
> or USB controller could cause anything.
>
Well, try having a partially loaded system dll on removable
media when you pull the plug - it won't be pretty.

> 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.

Linux has sync mounts too. :-) the rest is a gui thing, i.e. not kernel.

Helge Hafting
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/