Discussion:
JFFS2 free space
e***@gdsys.de
1970-01-01 00:00:00 UTC
Permalink
Hello,

I am using ecos together with JFFS2.
Is there any way to find out the free space left in the JFFS2? I had a look at the sources but didn't find any clues.

Regards,
Dirk


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to ***@axis.com
David Woodhouse
2004-06-15 13:05:38 UTC
Permalink
Post by e***@gdsys.de
Hello,
I am using ecos together with JFFS2.
Is there any way to find out the free space left in the JFFS2? I had a look at the sources but didn't find any clues.
Define 'free space'
--
dwmw2


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to ***@axis.com
e***@gdsys.de
1970-01-01 00:00:00 UTC
Permalink
Post by David Woodhouse
Define 'free space'
I would like to have some kind of basic idea, how much more data could be stored in the JFFS2-filesystem (without considering compression).

Regards,
Dirk

To: ***@infradead.org
Cc: jffs-***@axis.com


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to ***@axis.com
Nick Bane
2004-09-23 11:46:01 UTC
Permalink
While brining up an Intel Mainstone (pxa27x) board I noted that the vfs did not register jffs2 using the mainstream 2.6.8.1/2.6.9-rc2 code.
This may be a well known issue.
If not, this patch below worked for me.

diff -urNx CVS original/super.c update/super.c
--- original/super.c Thu Sep 23 09:57:16 2004
+++ update/super.c Thu Sep 23 12:26:01 2004
@@ -288,6 +288,8 @@
.name = "jffs2",
.get_sb = jffs2_get_sb,
.kill_sb = jffs2_kill_sb,
+ /* added N C Bane for 2.6.8.1 */
+ .fs_flags = FS_REQUIRES_DEV,
};


Nick Bane



To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to ***@axis.com
David Woodhouse
2004-09-23 12:34:09 UTC
Permalink
Post by Nick Bane
While brining up an Intel Mainstone (pxa27x) board I noted that the vfs did not register jffs2 using the mainstream 2.6.8.1/2.6.9-rc2 code.
This may be a well known issue.
If not, this patch below worked for me.
'rootfstype=jffs2'
--
dwmw2


To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to ***@axis.com
Loading...