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 [2025/05/29 17:35] (current) – [JFFS Notes and Troubleshooting] hogwild | ||
---|---|---|---|
Line 2: | Line 2: | ||
The JFFS menu contains settings and information used to create, prepare and view the status of a JFFS2 partition used for permanent storage. | The JFFS menu contains settings and information used to create, prepare and view the status of a JFFS2 partition used for permanent storage. | ||
+ | |||
+ | \\ | ||
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 read-only |
- | **NVRAM** - (Non-volatile RAM) is used for storing | + | \\ |
+ | |||
+ | **NVRAM** - (Non-volatile RAM) is used to store 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 // | ||
- | The figures below represent | + | \\ |
+ | |||
+ | The figures below illustrate | ||
+ | |||
+ | \\ [[https:// | ||
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | **Enable: | ||
+ | |||
+ | \\ [[https:// | ||
+ | |||
+ | \\ | ||
+ | |||
+ | \\ | ||
+ | |||
+ | **Execute when mounted: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | **Total / Free Size: | ||
+ | |||
+ | \\ | ||
+ | |||
+ | **Format / Erase: | ||
+ | |||
+ | \\ | ||
- | \\ | + | \\ |
- | **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: blank). | + | ===== JFFS Notes and Troubleshooting ===== |
- | **Total / Free Size: **This displays | + | UPGRADE Warning: As a safety precaution, FreshTomato prevents you from upgrading firmware if a JFFS partition is mounted/in use. This is because if you were to disable JFFS and upgrade firmware, you might lose the data on the /jffs partition. Therefore, you should do a backup and restore |
- | **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/ | + | FREQUENT Writes Warning:** **Flash storage isn't designed for frequent write operations. Therefore, avoid performing frequent write operations to it. For example, avoid storing the logs in JFFS, as this will shorten the life of your router. |
- | ===== Notes/Troubleshooting ===== | + | However, flash memory' |
- | **WARNING**: | ||
- | **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' | + | \\ |
+ | | ||