Talk:Journalling Flash File System

From DD-WRT Wiki

Revision as of 01:01, 22 November 2007 by Dantolov (Talk | contribs)
Jump to: navigation, search

That doesn't work for me... I've set these settings in the Webfrontend, the device rebooted, and that is what I get on the console...

BusyBox v1.00 (2005.05.10-21:26+0000) Built-in shell (ash) Enter 'help' for a list of built-in commands.

~ # mount
/dev/root on / type squashfs (ro)
none on /dev type devfs (rw)
proc on /proc type proc (rw)
ramfs on /tmp type ramfs (rw)
~ # df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/root 2624 2624 0 100% /

---

enable jffs
enable clean jffs
save settings

if this wont work, use the basic version. prefinal5 should also work with jffs support on G models, but prefinal4 has simply not enough flash space left

BrainSlayer

Unusable /jffs

I have a WRT54GL, v.1.1, and I re-flashed it straight from Linksys, with dd-wrt.v23_mini_generic.bin The device works fine, but I would like to use the jffs. I tried all the things described in http://www.dd-wrt.com/wiki/index.php/Jffs, under the rubric "Enable JFFS when Flash Space is Available." I should have a few hundred K available for the /jffs.

The mount situation looks like this:

~ # mount

/dev/root on / type squashfs (ro)

none on /dev type devfs (rw)

proc on /proc type proc (rw)

ramfs on /tmp type ramfs (rw)

/dev/mtdblock/4 on /jffs type jffs2 (rw)

~ # df

Filesystem 1k-blocks Used Available Use% Mounted on

/dev/root 2880 2880 0 100% /

/dev/mtdblock/4 320 320 0 100% /jffs

The ls command shows a /jffs, but the filesystem is unusable. I can't create or copy a file into it, consistent with the line above, which shows /jffs 100% used. There is nothing visibly in there, other than an empty subdirectory, /jffs/tmp.

Could anyone figure out what I'm doing wrong?