From: twebb <taliaferro62@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: how to properly calculate max-leb-cnt and vol_size for ubifs
Date: Thu, 3 Dec 2009 12:30:11 -0500 [thread overview]
Message-ID: <dbdb2ea60912030930ncd06dcfjbb149545728fa5d6@mail.gmail.com> (raw)
I'm using ubifs for the first time and am confused about how to
calculate two parameters:
"max-leb-cnt" for mkfs.ubifs
"vol_size" for ubinize cfg file
How should "max-leb-cnt" be calculated? In the examples, how is "-c
2047" determined? Should the max-leb-cnt calculation somehow include
the overhead calculated per the ubifs documentation page? Should the
reserved PEBs (1% default for NAND flash) be somehow taken into
account?
How should "vol_size" be calculated? Is it simply max-leb-cnt *
LEB_size? Should overhead somehow be included in this calculation
also?
Thanks for the help,
twebb
next reply other threads:[~2009-12-03 17:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-03 17:30 twebb [this message]
2009-12-04 11:38 ` how to properly calculate max-leb-cnt and vol_size for ubifs Adrian Hunter
2009-12-21 16:00 ` twebb
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=dbdb2ea60912030930ncd06dcfjbb149545728fa5d6@mail.gmail.com \
--to=taliaferro62@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.