system
September 17, 2014, 4:04pm
1
Hi,
My Yun is complaining no space left on the device - I donot see major running
Is there a way I can clean up some disk space: here is the snap shot of df
root@Arduino:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 7680 7544 136 98% /
/dev/root 7168 7168 0 100% /rom
tmpfs 30568 112 30456 0% /tmp
tmpfs 512 0 512 0% /dev
/dev/mtdblock3 7680 7544 136 98% /overlay
overlayfs:/overlay 7680 7544 136 98% /
root@Arduino:~#
Any tools I can use to clean up - Please advise
Thank you very much
BRE
sonnyyu
September 17, 2014, 7:01pm
2
cd /
du -sh *
448.0K bin
0 dev
1.1M etc
4.8M lib
16.0K lost+found
276.0K mnt
4.0K overlay
0 proc
26.9M rom
32.0K root
816.0K sbin
0 sys
388.0K tmp
43.0M usr
0 var
552.0K www
cd usr
du -sh *
system
September 17, 2014, 8:52pm
3
Sonnyyu,
Thank you very much - This helped
Along the same line, Is there way we can clean up unused/ temp files?
Sincere Regards,
BRE
Jantje
September 18, 2014, 8:29am
4
BREL:
Along the same line, Is there way we can clean up unused/ temp files?
yes
put them in /tmp
/tmp is a ram drive. Each time the yun restarts the content is cleaned up.
This also speeds up and reduces wear of the chip.
Best regards
Jantje