Journalling Flash File System
From DD-WRT Wiki
Revision as of 12:36, 23 July 2005 (edit) 213.139.154.67 (Talk) (→Introduction - typo) ← Previous diff |
Revision as of 11:10, 26 November 2005 (edit) (undo) 80.167.216.157 (Talk) Next diff → |
||
Line 22: | Line 22: | ||
ipkg list<br> | ipkg list<br> | ||
- | Tested on pre5<br> | + | Tested on pre5<br><br> |
+ | |||
+ | ==If everything else fails== | ||
+ | If you can't write to /jffs but need it for example for "ipkg" then you can umount it and then, if have a NAS or a share on a pc, mount a networkt share to /jffs. | ||
+ | |||
+ | I've personally use a startup script to unmount/mount /jffs everytime the router starts up.. Works perfectly. |
Revision as of 11:10, 26 November 2005
Contents |
Introduction
journaled flash file system (jffs) is used to store user programs and data into otherwise inaccessible flash memory. Inspite of general purpose read/write one must take care not to store frequently changed files on it as this can cause flash wear out. Journal file is used to minimize frequent overwrites.
Instructions
To enable jffs (please read note about "flash wear out" above!) enter the following commands (when you're connected via ssh or telnet on a shell):
nvram set sys_enable_jffs2=1
nvram commit
reboot
Maybe the options in the webinterface below work for you (they didn't for me):
Administration:
JFFS2 enabled: X Enable Disable
Clean JFFS2: X Enable Disable
Testing
Log in and run:
ipkg update
ipkg list
Tested on pre5
If everything else fails
If you can't write to /jffs but need it for example for "ipkg" then you can umount it and then, if have a NAS or a share on a pc, mount a networkt share to /jffs.
I've personally use a startup script to unmount/mount /jffs everytime the router starts up.. Works perfectly.