* What is smallest JFFS2 size (#blocks)
@ 2002-04-10 13:54 Derek Ross
2002-04-11 11:29 ` Jörn Engel
0 siblings, 1 reply; 2+ messages in thread
From: Derek Ross @ 2002-04-10 13:54 UTC (permalink / raw)
To: linux-mtd
Hello,
We plan to use JFFS2 to store several
text configuration files, but we don't
expect the total size of the files to
be more than 10k or so.
What is the smallest possible size
for a JFFS2 file system, in number
of blocks? I'm sure it's at least 2...
Thanks,
Derek Ross.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: What is smallest JFFS2 size (#blocks)
2002-04-10 13:54 What is smallest JFFS2 size (#blocks) Derek Ross
@ 2002-04-11 11:29 ` Jörn Engel
0 siblings, 0 replies; 2+ messages in thread
From: Jörn Engel @ 2002-04-11 11:29 UTC (permalink / raw)
To: Derek Ross; +Cc: linux-mtd
On Wed, 10 April 2002 08:54:05 -0500, Derek Ross wrote:
> We plan to use JFFS2 to store several
> text configuration files, but we don't
> expect the total size of the files to
> be more than 10k or so.
>
> What is the smallest possible size
> for a JFFS2 file system, in number
> of blocks? I'm sure it's at least 2...
joern@dublin:/usr/src/linux/fs/jffs2> grep "#define" *.h
...
nodelist.h:#define ALLOC_GC 2 /* Space requested for GC. Give it or die */
nodelist.h:#define JFFS2_RESERVED_BLOCKS_BASE 3
Looks like 6 is the correct answer. But you can reduce
JFFS2_RESERVED_BLOCKS_BASE down to 0 - at your own risk of course.
Jörn
--
Smart data structures and dumb code works a lot better than the other
way around.
-- Eric Raymond in "The cathedral and the bazaar"
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-11 11:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-10 13:54 What is smallest JFFS2 size (#blocks) Derek Ross
2002-04-11 11:29 ` Jörn Engel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox