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/04/16 16:03] (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: | ||
+ | |||
+ | \\ | ||
- | \\ [[https:// | + | **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). | + | \\ |
- | **Total / Free Size: **This displays the storage size available to be used. This cannot be changed. | ||
- | **Format / Erase:** The very first time you enable | + | ===== JFFS Notes and Troubleshooting ===== |
- | \\ [[https://wiki.freshtomato.org/lib/ | + | UPGRADE Warning: |
- | ===== Notes/ | + | \\ |
- | **WARNING**: As a safety precaution, FreshTomato will prevent you from performing | + | FREQUENT Writes Warning:** **Flash storage isn't designed for frequent write operations. Therefore, avoid performing |
- | **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' |