Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758570AbXFMMtm (ORCPT ); Wed, 13 Jun 2007 08:49:42 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757878AbXFMMtg (ORCPT ); Wed, 13 Jun 2007 08:49:36 -0400 Received: from smtp01.cdmon.com ([86.109.99.230]:56801 "EHLO smtp01.cdmon.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757826AbXFMMtf (ORCPT ); Wed, 13 Jun 2007 08:49:35 -0400 Date: Wed, 13 Jun 2007 15:48:43 +0200 From: DervishD To: Juergen Beisert Cc: Linux-kernel Subject: Re: ext2 on flash memory Message-ID: <20070613134843.GC1983@DervishD> Mail-Followup-To: Juergen Beisert , Linux-kernel References: <20070611101319.GA14284@DervishD> <20070611174223.GB2433@DervishD> <200706112127.42119.juergen127@kreuzholzen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <200706112127.42119.juergen127@kreuzholzen.de> User-Agent: Mutt/1.4.2.3i Organization: DervishD Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1955 Lines: 40 * Juergen Beisert dixit: > On Monday 11 June 2007 19:42, DervishD wrote: > > I know about cheap pendrives that you cannot format even with FAT32, only > > with FAT16. > > I'm not sure if the price was the reason that they failed with different > filesystems. Some kind of wear leveling tries to guess which blocks of the > filesystem are in use and which are unused (to avoid wear leveling of unused > data). > But it only works if you are using a filesystem that is "known" by the wear > leveling process. If you are using a different one, it fails badly, because > it tries to interpret a FAT that does not exists, and destroys your > filesystem while the wear leveling process is running. That's exactly what I wanted to know! My Kingston Data Traveler is not exactly cheap (while not a very expensive piece of hardware, Kingston is known for the quality of its memory devices), so I hope it likes ext2. I will do a test. > So if you can use a different filesystem than FAT16/32 on your pendrive, it > does not matter what kind of filesystem you are using. The wear leveling > process has no clue about it and always "wear leveling" used *and* unused > data (means: every block of the whole disk) until it ruins the flash memory. But anyway the memory should last long. Even cheap flash memories with poor wear leveling (if any at all) usually long last. Given that I won't be writing continuously, wear shouldn't be a problem. I'm going to use this as a backup copy of my home. Of course, I can use a tarball too... Ra?l N??ez de Arenas Coronado -- Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! - 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/