Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751641AbXFKLLp (ORCPT ); Mon, 11 Jun 2007 07:11:45 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1750741AbXFKLLi (ORCPT ); Mon, 11 Jun 2007 07:11:38 -0400 Received: from max.aladin.ro ([80.96.155.2]:60009 "EHLO aladin.ro" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750715AbXFKLLi convert rfc822-to-8bit (ORCPT ); Mon, 11 Jun 2007 07:11:38 -0400 Message-ID: <466D2DF7.9020709@aladin.ro> Date: Mon, 11 Jun 2007 14:11:51 +0300 From: Eduard-Gabriel Munteanu User-Agent: Thunderbird 2.0.0.0 (X11/20070326) MIME-Version: 1.0 To: DervishD CC: linux-kernel@vger.kernel.org Subject: Re: ext2 on flash memory References: <20070611101319.GA14284@DervishD> In-Reply-To: <20070611101319.GA14284@DervishD> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1377 Lines: 33 *This message was transferred with a trial version of CommuniGate(r) Pro* DervishD wrote: > *This message was transferred with a trial version of CommuniGate(r) Pro* > *This message was transferred with a trial version of CommuniGate(r) Pro* > Hi all :) > > I was wondering: is there any reason not to use ext2 on an USB > pendrive? Really my question is not only about USB pendrives, but any > device whose storage is flash based. Let's assume that the device has a > good quality flash memory with wear leveling and the like... > > Thanks a lot in advance :) > > Ra?l N??ez de Arenas Coronado > Your USB pendrive will wear faster if you use an inappropriate filesystem. Such filesystems require frequent writes and change their internal state often. This could be alleviated by COWing the filesystem somehow and flushing writes when you're finished. But the modifications will be lost if crashes occur. The filesystem structures will still change a lot and require big writes to update it. Really, why don't you try a more suitable fs for your pendrive, one that changes itself less than usual fs's? - 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/