This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
admin-jffs2 [2022/01/05 13:11] – created rs232 | admin-jffs2 [2023/05/24 21:55] (current) – [JFFS Notes and Troubleshooting] -condense hogwild | ||
---|---|---|---|
Line 5: | Line 5: | ||
Common routers contain two types of permanent storage: | Common routers contain two types of permanent storage: | ||
- | **Flash** - is the storage area where the FreshTomato firmware image is uploaded, stored and executed. At boot time, the image is loaded into a squash filesystem which means it's executed | + | **Flash** - is the storage area where the FreshTomato firmware image is uploaded, stored and executed. At boot time, the image is loaded into a squash filesystem which is a read-only |
- | **NVRAM** - (Non-volatile RAM) is used for storing the hardware' | + | **NVRAM** - (Non-volatile RAM) is used for storing the hardware' |
Since modern routers have a relatively large amount of Flash memory available, FreshTomato can mount the unused storage space and make it available to FreshTomato for normal file storage. This function is called JFFS, short for the // | Since modern routers have a relatively large amount of Flash memory available, FreshTomato can mount the unused storage space and make it available to FreshTomato for normal file storage. This function is called JFFS, short for the // | ||
Line 15: | Line 15: | ||
\\ [[https:// | \\ [[https:// | ||
- | **Enable:** Checking this box enables JFFS, as shown in the image below. (Default: Disabled). | + | \\ |
- | **Execute when mounted:** In this field, you can enter the name of a script or similar to run immediately after the partition becomes available to FreshTomato. (Default: | + | **Enable:** |
- | **Total | + | \\ [[https:// |
- | **Format / Erase:** The very first time you enable JFFS, you must format the partition with the JFFS2 filesystem. Once formatting is complete, the "(not mounted)" | + | \\ |
- | \\ [[https://wiki.freshtomato.org/lib/ | + | **Execute when mounted: |
+ | |||
+ | **Total | ||
+ | |||
+ | **Format | ||
- | ===== Notes/Troubleshooting ===== | + | ===== JFFS Notes and Troubleshooting ===== |
- | **WARNING**: As a safety precaution, FreshTomato | + | UPGRADE Warning: As a safety precaution, FreshTomato |
- | **WARNING: | + | FREQENT Writes Warning:** **Flash storage is not designed for frequent write operations. Because of this, you should avoid performing frequent write operations to it. For example, avoid storing the logs in JFFS, as this will shorten the life of your router. However, flash memory' |