From: "Artem B. Bityuckiy" <abityuckiy@yandex.ru>
To: "Artem B. Bityuckiy" <abityuckiy@yandex.ru>,
"Kornel Masłowski" <maslow@pf.pl>
Cc: linux-mtd@lists.infradead.org
Subject: Re: [OBORONA-SPAM] Re: jffs2
Date: Tue, 28 Sep 2004 10:54:53 +0400 [thread overview]
Message-ID: <41590ABD.9060103@yandex.ru> (raw)
In-Reply-To: <415905E4.1020601@yandex.ru>
Artem B. Bityuckiy wrote:
> Kornel Masłowski wrote:
>
>> I'm not sure how jffs2 works.
>> I have jffs2 on 8bit NAND flash (page 512 B).
>> I want to append record 32B to the file on flash which current size is
>> 10kB.
>> Flash device is almost empty.
>> How many pages will be written by jffs2?
>
> If your 10K file was created by one go and there is no compression, the
> file will consist of 3 JFFS2 nodes (4K + 4K + 2K) and fit into 9 + 9 + 5
> = 23 NAND pageg
>(4K data = 4 NAND pages and one is needed for node
Ops, 4K data = 8 NAND pages.
> header; the rest of page won't be used since the next node isn't fit to
> it).
>
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
next prev parent reply other threads:[~2004-09-28 6:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-27 18:55 jffs2 Kornel Masłowski
2004-09-28 6:34 ` jffs2 Artem B. Bityuckiy
2004-09-28 6:54 ` Artem B. Bityuckiy [this message]
2004-09-28 11:22 ` jffs2 Artem B. Bityuckiy
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=41590ABD.9060103@yandex.ru \
--to=abityuckiy@yandex.ru \
--cc=linux-mtd@lists.infradead.org \
--cc=maslow@pf.pl \
/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