Page 1 of 1

Disk cleanup / space management

Posted: Thu Apr 23, 2020 3:54 am
by WiggleMaster5
Hello,

I'm using dietpi basically as an appliance for PiHole - a basic VM somewhere. Very simple.
I ran a dietpi-update, but I'm curioous if there's any maintenance cleanup of files I should be doing?

I only know a little linux but I know of apt cleanup or clean? autoclean - that kind of thing.

Do I need to do any of that on this system or no?

Re: Disk cleanup / space management

Posted: Thu Apr 23, 2020 9:18 am
by Joulinar
Hi.

Many thanks for your report. There is no need to do anything in addition if your system is running fine.

Re: Disk cleanup / space management

Posted: Tue Apr 28, 2020 8:19 am
by WarHawk
One way to ensure your filesystem isn't filling up

Go to the root folder and do a df -h and it will list what is being used and how much is free

Linux doesn't need a "cleanup" like window$ as it doesn't create massive amounts of bloat...now log files can get rather large but should autoclean themselves