Messages in this thread | | | Date | Mon, 20 Feb 2006 02:01:02 +0100 | From | Pavel Machek <> | Subject | Re: Flames over -- Re: Which is simpler? |
| |
On Po 20-02-06 01:56:17, Olivier Galibert wrote: > On Sun, Feb 19, 2006 at 08:43:44PM +0100, Pavel Machek wrote: > > Kernel can not tell the diference, and just because you don't like the > > behaviour does not mean we have to work around hardware limitation. > > > > You deal with it. Post a patch. > > It would take more than one patch, but it could be done:
Actually, if you really want to do this, it would probably make sense to do at blockdevice level -- with device mapper magic or something.
That way you could prompt user "return that flash driver, I still want to write to it" after surprise unplug, etc. And suspend is special case of surprise unplug, then replug.
Pavel -- Web maintainer for suspend.sf.net (www.sf.net/projects/suspend) wanted... - 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/
| |