* About mkfs.jffs2
@ 2008-07-14 6:38 Qiang Wang
2008-07-14 11:51 ` Josh Boyer
0 siblings, 1 reply; 3+ messages in thread
From: Qiang Wang @ 2008-07-14 6:38 UTC (permalink / raw)
To: linux-mtd
hello, everyone
I use mkfs,jffs2 tools to make my jffs2 filesystem.
I found that it apply some compress logic, result the data is compressed.
How can I remove the compressing function from the tools?
my command is as below:
./mkfs.jffs2 -r fs -o root.jffs2 -e 0x20000 -s 0x20000 -l -p
thanks very much
best regards,
wangqiang
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: About mkfs.jffs2
2008-07-14 6:38 About mkfs.jffs2 Qiang Wang
@ 2008-07-14 11:51 ` Josh Boyer
[not found] ` <71413c850807140639m766cbd75ubeb0cd8e35e2d8d4@mail.gmail.com>
0 siblings, 1 reply; 3+ messages in thread
From: Josh Boyer @ 2008-07-14 11:51 UTC (permalink / raw)
To: Qiang Wang; +Cc: linux-mtd
On Mon, 2008-07-14 at 15:38 +0900, Qiang Wang wrote:
> hello, everyone
>
> I use mkfs,jffs2 tools to make my jffs2 filesystem.
> I found that it apply some compress logic, result the data is compressed.
> How can I remove the compressing function from the tools?
>
> my command is as below:
> ./mkfs.jffs2 -r fs -o root.jffs2 -e 0x20000 -s 0x20000 -l -p
Add '-m none'. And you could have figured that out pretty easily by
doing --help or reading the code.
josh
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: About mkfs.jffs2
[not found] ` <1216042939.14579.41.camel@weaponx>
@ 2008-07-15 1:35 ` Qiang Wang
0 siblings, 0 replies; 3+ messages in thread
From: Qiang Wang @ 2008-07-15 1:35 UTC (permalink / raw)
To: Josh Boyer; +Cc: linux-mtd
ooh,yes.
It is quite old. Thanks very much.
I have got the newest version.
But when I compile it , I got compiler error.
gcc -I./include -O2 -g -Wall -c -o mkfs.jffs2.o mkfs.jffs2.c -g
-Wp,-MD,./.mkfs.jffs2.c.dep
mkfs.jffs2.c:68:23: sys/xattr.h: No such file or directory
In file included from mkfs.jffs2.c:76:
rbtree.h:97:26: linux/kernel.h: No such file or directory
rbtree.h:98:26: linux/stddef.h: No such file or directory
I think it is the linux header.But when I copy some from the linux source tree,
It told me that some MACRO is not defined.
I think there must be some method to sovle this problem.
best regards,
wangqiang
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-07-15 1:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-07-14 6:38 About mkfs.jffs2 Qiang Wang
2008-07-14 11:51 ` Josh Boyer
[not found] ` <71413c850807140639m766cbd75ubeb0cd8e35e2d8d4@mail.gmail.com>
[not found] ` <1216042939.14579.41.camel@weaponx>
2008-07-15 1:35 ` Qiang Wang
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox