OpenWrt Forum Archive

Topic: Clean jffs

The content of this topic has been archived on 1 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

hi all

it is possible to clean up the flash card (jffs filesystem)? I installed webif on my WRT54GL to test the webgui. Now I removed webif, but I don't get the full space back. After installing / removing 3-4 packages there is no space left on the flash card.

I searched for this case in this forum but the only thread I found was from 2005 and the poster said, that there is no possibility than reinstall openWRT.

any ideas?

 
mtd -r erase rootfs_data

That will wipe the JFFS2 partition clean.

wipe clean means that I lose all made config files too? Or does this command only clear the flash from allready deleted data. for example like defragment.

You'll lose all the changes you've done after flashing.

The discussion might have continued from here.