Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932586AbWB1WjR (ORCPT ); Tue, 28 Feb 2006 17:39:17 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932668AbWB1WjR (ORCPT ); Tue, 28 Feb 2006 17:39:17 -0500 Received: from gprs189-60.eurotel.cz ([160.218.189.60]:19098 "EHLO amd.ucw.cz") by vger.kernel.org with ESMTP id S932586AbWB1WjQ (ORCPT ); Tue, 28 Feb 2006 17:39:16 -0500 Date: Tue, 28 Feb 2006 23:38:55 +0100 From: Pavel Machek To: col-pepper@piments.com Cc: "linux-os (Dick Johnson)" , "linux-kernel@vger.kernel.org" Subject: Re: o_sync in vfat driver Message-ID: <20060228223855.GC5831@elf.ucw.cz> References: <20060227132848.GA27601@csclub.uwaterloo.ca> <1141048228.2992.106.camel@laptopd505.fenrus.org> <1141049176.18855.4.camel@imp.csi.cam.ac.uk> <1141050437.2992.111.camel@laptopd505.fenrus.org> <1141051305.18855.21.camel@imp.csi.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Warning: Reading this can be dangerous to your mental health. User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1177 Lines: 28 On ?t 28-02-06 00:21:53, col-pepper@piments.com wrote: > On Mon, 27 Feb 2006 22:32:07 +0100, linux-os (Dick Johnson) > wrote: > > > Flash does not get zeroed to be written! It gets erased, which sets all > > the bits to '1', i.e., all bytes to 0xff. > > Thanks for the correction, but that does not change the discussion. > > > Further, the designers of > > flash disks are not stupid as you assume. The direct access occurs > > to static RAM (read/write stuff). > > I'm not assuming anything . Some hardware has been killed by this issue. > http://lkml.org/lkml/2005/5/13/144 I have seen flash disk dead in 5 minutes, even without o-sync. Those devices are often crap. (I copied tar file to flash by cat foo.tar > /dev/sda. That was apparently enough to kill that flash. Label "Yahoo" should have warned me). 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/