public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* mkfs issue
@ 2005-07-30  2:35 Amit Sharma
  2005-07-31 10:42 ` Artem B. Bityuckiy
  2005-08-01  0:38 ` David Woodhouse
  0 siblings, 2 replies; 4+ messages in thread
From: Amit Sharma @ 2005-07-30  2:35 UTC (permalink / raw)
  To: linux-mtd

Hi ALL

Thanks Thomas for help,I need more support form group

Now for creating file i am using this option but i have some doubt

nkfs.jffs2 -s 2 -e 128 -o jffs2.image


Issue

1. what is the purpose of block size option -e
2. This problem based on my two host PC 
if i use option -d /home/jffs2stuff  i found my file size is zero on
my one Host PC
but on other setup i found file size 13310 always ,what is this problem .
3. If i create file of more than 1.3MB Jffs2 response degraded during
ls-la and using of benchmarking.

I am using linux 2.4 kernel .do you think i should upgrade my jffs2
for 2.4 kernel from cvs.

Thanks
AK

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

* Re: mkfs issue
  2005-07-30  2:35 mkfs issue Amit Sharma
@ 2005-07-31 10:42 ` Artem B. Bityuckiy
  2005-08-01  0:38 ` David Woodhouse
  1 sibling, 0 replies; 4+ messages in thread
From: Artem B. Bityuckiy @ 2005-07-31 10:42 UTC (permalink / raw)
  To: linux-mtd

On Sat, 2005-07-30 at 11:35 +0900, Amit Sharma wrote:
> 1. what is the purpose of block size option -e
Obviously, the size of the eraseblock of your flash.

> 2. This problem based on my two host PC 
> if i use option -d /home/jffs2stuff  i found my file size is zero on
> my one Host PC
> but on other setup i found file size 13310 always ,what is this problem .
No idea ...

> 3. If i create file of more than 1.3MB Jffs2 response degraded during
> ls-la and using of benchmarking.
That's the property of JFFS2. Take a quick glimpse at http://www.linux-
mtd.infradead.org/tech/JFFS3design/node2.html.

> I am using linux 2.4 kernel .do you think i should upgrade my jffs2
> for 2.4 kernel from cvs.
If you want some support from the MTD folks, use 2.6 or 2.4.27+ kernels.

Glance at http://www.linux-mtd.infradead.org/source.html#kernelversions

-- 
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.

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

* Re: mkfs issue
  2005-07-30  2:35 mkfs issue Amit Sharma
  2005-07-31 10:42 ` Artem B. Bityuckiy
@ 2005-08-01  0:38 ` David Woodhouse
  2005-08-01  1:53   ` Wolfgang Denk
  1 sibling, 1 reply; 4+ messages in thread
From: David Woodhouse @ 2005-08-01  0:38 UTC (permalink / raw)
  To: Amit Sharma; +Cc: linux-mtd

On Sat, 2005-07-30 at 11:35 +0900, Amit Sharma wrote:
> 3. If i create file of more than 1.3MB Jffs2 response degraded during
> ls-la and using of benchmarking.
> 
> I am using linux 2.4 kernel

The 2.4 kernel is ancient and slow. You should find the code in 2.6 is a
_lot_ faster.

-- 
dwmw2

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

* Re: mkfs issue
  2005-08-01  0:38 ` David Woodhouse
@ 2005-08-01  1:53   ` Wolfgang Denk
  0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2005-08-01  1:53 UTC (permalink / raw)
  To: David Woodhouse; +Cc: Amit Sharma, linux-mtd

In message <1122856696.8317.57.camel@baythorne.infradead.org> you wrote:
>
> The 2.4 kernel is ancient and slow. You should find the code in 2.6 is a
> _lot_ faster.

Maybe the MTD code in some 2.4 kernels is slow. The kernel itself  is
usually  faster than 2.6; even a LOT faster than 2.6. See for example
http://www.denx.de/twiki/bin/view/Know/Linux24vs26

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Commitment, n.:      Commitment can be illustrated by a breakfast
of ham and eggs. The chicken was involved, the pig was committed.

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

end of thread, other threads:[~2005-08-01  1:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-30  2:35 mkfs issue Amit Sharma
2005-07-31 10:42 ` Artem B. Bityuckiy
2005-08-01  0:38 ` David Woodhouse
2005-08-01  1:53   ` Wolfgang Denk

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