Gentoo Archives: gentoo-user

From: Jeremi Piotrowski <jeremi.piotrowski@×××××.com>
To: gentoo-user@l.g.o, gentoo-user@l.g.o
Subject: Re: [gentoo-user] clean-up root partition
Date: Thu, 01 Oct 2015 13:13:31
Message-Id: alpine.LNX.2.20.1510011510320.24084@gentoo-tp.localdomain
In Reply to: Re: [gentoo-user] clean-up root partition by Philip Webb
1 On Thu, 1 Oct 2015, Philip Webb wrote:
2
3 > 151001 thelma@×××××××××××.com wrote:
4 > > How do you folks clean-up root partition, I have too much junk in there.
5 > > df -h
6 > > Filesystem Size Used Avail Use% Mounted on
7 > > /dev/sda3 74G 61G 9.3G 87% /
8 > > I've already removed all the files from /usr/portage/distfiles .
9 >
10 > 'du' is your friend : it has lots of options, so read the 'man'.
11 > that will tell you what's using so much space, then you can delete stuff.
12
13 I highly recommend sys-fs/ncdu, an ncurses front end to du. Definitely
14 much better than piping du output through sort. You can even directly
15 delete folders/files when you see that something is taking up more space
16 than expected.