From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.imc-berlin.de ([217.110.46.186] helo=mail.berlin.imc-berlin.de) by pentafluge.infradead.org with esmtp (Exim 4.30 #5 (Red Hat Linux)) id 1BBYoj-0002v3-2H for linux-mtd@lists.infradead.org; Thu, 08 Apr 2004 13:39:37 +0100 Received: from mailgate.berlin.imc-berlin.de (mailgate.berlin.imc-berlin.de [10.0.0.13])i38BpFj9019632 for ; Thu, 8 Apr 2004 13:51:15 +0200 Received: from imc-berlin.de (scholz.berlin.imc-berlin.de [10.0.2.10]) by mailgate.berlin.imc-berlin.de (8.8.8/8.8.8) with ESMTP id OAA29159 for ; Thu, 8 Apr 2004 14:39:19 +0200 (CEST) (envelope-from steven.scholz@imc-berlin.de) Message-ID: <407547DF.1020404@imc-berlin.de> Date: Thu, 08 Apr 2004 14:38:55 +0200 From: Steven Scholz MIME-Version: 1.0 To: MTD Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Changing the number of JFFS2 erasblocks? List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi there, I have 320KB of unused flash in our embedded systems. Now I want to make use of them using an read/write filesystem by updating the kernel. Since it's flash I need some fs that's aware of the flash wearing problem. So I guess that leaves only JFFS2. My problem is that the 5 erase blocks set by default will eat up the whole 320KB and leaves no free space. And IIRC there's no way to pass the number of eraseblocks during mount. Could I hardcode the number of eraseblocks to 1 in my new (but still old 2.4.20) kernel? Where is it defined? And what happens to my root fs which is JFFS2 when I change that? Thanks a million, Steven