From: Steven Scholz <steven.scholz@imc-berlin.de>
Cc: MTD <linux-mtd@lists.infradead.org>
Subject: Re: Changing the number of JFFS2 erasblocks?
Date: Thu, 08 Apr 2004 14:54:27 +0200 [thread overview]
Message-ID: <40754B83.3020000@imc-berlin.de> (raw)
In-Reply-To: <407547DF.1020404@imc-berlin.de>
Steven Scholz wrote:
> 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?
Is it enough and ok to just change the
/* Number of free blocks there must be before we... */
#define JFFS2_RESERVED_BLOCKS_BASE 3
in fs/jffs2/nodelist.h ???
Steven
next prev parent reply other threads:[~2004-04-08 12:54 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-08 12:38 Changing the number of JFFS2 erasblocks? Steven Scholz
2004-04-08 12:54 ` Steven Scholz [this message]
2004-04-08 12:58 ` Thomas Gleixner
2004-04-08 13:10 ` Steven Scholz
2004-04-08 13:19 ` Thomas Gleixner
2004-04-08 16:45 ` Steven Scholz
2004-04-08 14:45 ` Jörn Engel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=40754B83.3020000@imc-berlin.de \
--to=steven.scholz@imc-berlin.de \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox