public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* jffs2 fs overload
@ 2006-03-20  7:23 igor.trevisan
  0 siblings, 0 replies; 5+ messages in thread
From: igor.trevisan @ 2006-03-20  7:23 UTC (permalink / raw)
  To: linux-mtd

Hi all,

I'm defining the flash partitions content for my target
and I need a rewritable flash area.
So I formatted and mounted a flash partition as jffs2.
What I noted is that, on a 1MByte flash area I loose
about 600K immediately. If I use the command df I see
that only 30less than 400k are really available.
Is it possible that this is the normal overload if a 
format my flash partition with jffs2?
Or am I doing something wtong?
Is there any good guide or document that can help me
building a jffs2 RW flash partition?
Please forgive me if I couldn't be very clear! If needed to help me 
better I can try to give more information and details about my problem.
Thanks in advance,
Igor.
-- 
--- BlueWind 
--- Embedded Systems Design 
--- Borgo Pieve 55c interno c
--- 31033 Castelfranco V.to (TV)
--- Tel.: +39 0423 723431 Fax.: +39 0423 744738
--- mailto: igor.trevisan@bluewind.it
--- http://www.bluewind.it
------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 5+ messages in thread
* RE: jffs2 fs overload
@ 2006-03-20  8:30 Selmeci, Tamas
  2006-03-27 17:37 ` igor.trevisan
  2006-03-27 17:38 ` igor.trevisan
  0 siblings, 2 replies; 5+ messages in thread
From: Selmeci, Tamas @ 2006-03-20  8:30 UTC (permalink / raw)
  To: igor.trevisan, linux-mtd

Hello!

> I'm defining the flash partitions content for my target
> and I need a rewritable flash area.
> So I formatted and mounted a flash partition as jffs2.
> What I noted is that, on a 1MByte flash area I loose
> about 600K immediately. If I use the command df I see
> that only 30less than 400k are really available.
> Is it possible that this is the normal overload if a 
> format my flash partition with jffs2?
> Or am I doing something wtong?

I think this is normal, JFFS2 allocates inodes (as far as I know) in
advance like ext2 also does - in case of a very small filesystem, this
may lead to serious capacity waste... If my assumption is wrong,
somebody please correct me.

> Is there any good guide or document that can help me
> building a jffs2 RW flash partition?

I would make a filesystem on a host PC, and then make a jffs2 from it
(mkjffs). The image can be written with a download tool.

Bye
--
Tamas Selmeci

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-03-28  7:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-20  7:23 jffs2 fs overload igor.trevisan
  -- strict thread matches above, loose matches on Subject: below --
2006-03-20  8:30 Selmeci, Tamas
2006-03-27 17:37 ` igor.trevisan
2006-03-27 17:38 ` igor.trevisan
2006-03-28  7:34   ` Selmeci, Tamas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox