When trying to add a few packages, I was surprised to get the error:
* wfopen: //usr/lib/opkg/info/kmod-usb-ohci.prerm: No space left on device. (for example).
I thought I had plenty - in fact purchased the TL WDR 4300 because it had ample room, without needing to use extroot. Things in this context (flash, SoC) obviously work differently than what I am used to with physical disks . Can anyone point me to good documentation fo help me understand how storage and partitionaing works with OpenWrt, and why I can't use the 61 MB tmpfs partition? Or can I? Is there a way to extend root to use some of the 61 MB unused on /tmp? Is there a parted like utility for this purpose? Sorry for the newb question, but I'm quite confused.
My specs:
Model TP-Link TL-WDR4300 v1
Firmware Version OpenWrt Chaos Calmer 15.05.1 / LuCI 15.05-149-g0d8bbd2 Release (git-15.363.78009-956be55)
Kernel Version 3.18.23
and partition layout:
root@OpenWrt:/proc# df -hT
Filesystem Type Size Used Available Use% Mounted on
rootfs rootfs 4.5M 4.4M 104.0K 98% /
/dev/root squashfs 2.3M 2.3M 0 100% /rom
tmpfs tmpfs 61.5M 1.3M 60.3M 2% /tmp
/dev/mtdblock3 jffs2 4.5M 4.4M 104.0K 98% /overlay
overlayfs:/overlay overlay 4.5M 4.4M 104.0K 98% /
tmpfs tmpfs 512.0K 0 512.0K 0% /dev