ethereum / mist

[DEPRECATED] Mist. Browse and use Ðapps on the Ethereum network.
http://ethereum.org
GNU General Public License v3.0
7.44k stars 2.12k forks source link

Mist hard disk consumption and folders structure #2952

Open nmiculinic opened 7 years ago

nmiculinic commented 7 years ago

I've installed mist and connected to etherium test network. Upon inspecting my home folder (on Linux) I found ~/.config/Mist weights 600MB; which to me seems excessive for config files only. Could bulk of this be moved defaults to ~/.cache directory because it significantly bulks up my backups?

That is, how can we make Mist more backup friendly to keep storage requirements to a minimum?

evertonfraga commented 7 years ago

Hi, there are some measures you can take to keep Mist directory at minimum size.

That should free some space for you.

nmiculinic commented 7 years ago

Sure, but this post isn't about application specific idiosyncrasies, but overall where files should reside -- if the config is 600MBs then it's not a config anymore probably, is it?

.cache folder exists for a reason. ~/.config/Mist/swarmjs/swarm/bzz-xxxxxxxxxx/chunks/ should change to ~/.cache/Mist/swarmjs/swarm/bzz-xxxxxxxxxx/chunks/

Also there's .local/share/ folder where you could move application data; where also semantically makes sense and keep only configuration files in .config. I see no reason to bloat backups due to a single app. For transition period I'd suggest symlinking swarm folder from .config to .cache dir; that should keep thing simple and hopefully not breaking.

I've checked again....it's 3.6GB right now in the .config