How to optimize package storage: asu/auc, owut and firmware-selector

2/ lzma / none

jffs2 " is a writable compressed filesystem with journaling and wear leveling using LZMA for the compression."

So shouldn't /overlay also provide compression?

# block info
/dev/mtdblock8: UUID="ad6682f1-0f744c67-7d62fc23-cf7bd2a2" VERSION="4.0" MOUNT="/rom" TYPE="squashfs"
/dev/mtdblock9: MOUNT="/overlay" TYPE="jffs2"

squashfs provides much better compression, jffs just compresses individual file content.

1 Like

also, the documentation states that:

  • "Due to its history (fork of ipkg), opkg can specify a destination different than root for package installation, but since most packages don't support this natively, it's more a curiosity than actually useful."
  • " The recommended way to have more space to install your packages is Extroot"
  • Thou shalt not install kernel modules on USB storage

I still can't find info what happens to packages installed to /tmp after reboot.

You're right, i missed it in the docu:

Since SquashFS is a read only filesystem, it doesn't need to align the data, allowing it to pack the files tighter thus taking up significantly less space than JFFS2 (20-30% savings over a JFFS2 filesystem)!

BTW, thank you for engaging with me and pointing me in the right direction, this is a massive learning experience and I've come to appreciate openwrt's documentation and learned a ton, just because I don't want to throw away an old router with 16mb.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.