Site Tools


jffs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
jffs [2021/06/14 15:25] – JFFS-clarity hogwildjffs [2021/09/24 00:46] – there is no underlying Linux djk44883
Line 9: Line 9:
 **NVRAM** - (Non-volatile RAM) is used for storing the hardware's configuration. While loading the firmware from the squash filesystem, parameters in the form of variables are fetched from the NVRAM. NVRAM size is relatively small and is measured in Kilobytes (KB). **NVRAM** - (Non-volatile RAM) is used for storing the hardware's configuration. While loading the firmware from the squash filesystem, parameters in the form of variables are fetched from the NVRAM. NVRAM size is relatively small and is measured in Kilobytes (KB).
  
-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's underlying (Linux) OS for normal file storage. This function is called JFFS, short for the //Journalling Flash File System// type used for the storage. Currently, JFFS2 (version 2) is used.+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's underlying (Linux) OS(( 
 +as firmware it's self, FreshTomato **is** the underlying Linux based OS. 
 +)) for normal file storage. This function is called JFFS, short for the //Journalling Flash File System// type used for the storage. Currently, JFFS2 (version 2) is used.
  
 The figures below represent an example of storage allocation (not to scale). The numbers will vary based on your FreshTomato version and your hardware specifications. See the [[:hardware_compatibility|Hardware Compatibility]] page for more information on specific FLASH and NVRAM specifications. The figures below represent an example of storage allocation (not to scale). The numbers will vary based on your FreshTomato version and your hardware specifications. See the [[:hardware_compatibility|Hardware Compatibility]] page for more information on specific FLASH and NVRAM specifications.
Line 27: Line 29:
 NOTE: As a safety precaution, FreshTomato will prevent you from performing firmware upgrades if a JFFS partition is mounted/in use. The reason for this is that if you were to disable JFFS and upgrade the FreshTomato firmware, you might lose the contents of the /jffs partition. For this reason, you should do a backup and restore operation to preserve the data there. To learn more about backup and restore of JFFS partition data, see the XXXX page. NOTE: As a safety precaution, FreshTomato will prevent you from performing firmware upgrades if a JFFS partition is mounted/in use. The reason for this is that if you were to disable JFFS and upgrade the FreshTomato firmware, you might lose the contents of the /jffs partition. For this reason, you should do a backup and restore operation to preserve the data there. To learn more about backup and restore of JFFS partition data, see the XXXX page.
  
-=== Technical Notes/Troubleshooting ===+//Technical Notes/Troubleshooting//
  
 **IMPORTANT: **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's limitation is in the number or write operations, but not the number of read operations. Therefore, an Entware installation would be fine. Be aware that your JFFS should be used only if no other storage like USB or a CIFS share is available. **IMPORTANT: **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's limitation is in the number or write operations, but not the number of read operations. Therefore, an Entware installation would be fine. Be aware that your JFFS should be used only if no other storage like USB or a CIFS share is available.
  
  
jffs.txt · Last modified: 2021/11/12 00:57 by djk44883