From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-167773-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	by finch.gentoo.org (Postfix) with ESMTP id ACA561383E0
	for <garchives@archives.gentoo.org>; Thu,  1 Oct 2015 13:13:31 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 8350C21C040;
	Thu,  1 Oct 2015 13:13:20 +0000 (UTC)
Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 196AA21C00F
	for <gentoo-user@lists.gentoo.org>; Thu,  1 Oct 2015 13:13:18 +0000 (UTC)
Received: by wiclk2 with SMTP id lk2so32814275wic.0
        for <gentoo-user@lists.gentoo.org>; Thu, 01 Oct 2015 06:13:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20120113;
        h=date:from:to:subject:in-reply-to:message-id:references:user-agent
         :mime-version:content-type;
        bh=c0ApctU+4Q2sTc8+6Cu4zfb+vysQa71ikp998UFgt5Q=;
        b=B0Giy4qrGlzh7/+00E/+VXymodZHiO24ySdXyTouAkx58ssaoNeUCL7GVZ/LWWQ9ZG
         rU4Q3YnhKFVVgA1OG4laSrLNfNtSXTwNXrb8yrwk5qUknxcuZSmE5QSq5XrstN5hshXi
         mZC2YiXJAW3EZO2E3TYPykriIKql50gfte03dHU9eiV8OFRNYFMSwYSHrIVMsv+5q6l1
         nj3mzHH9rx1q+8t8NIBANq+KfR8r+LuyaTBcOMHfPDev7GbeAs/bjqSFryUwzyX1Z693
         aybjgQik9dCtUpKug3HSdL3sNJ0TTtpt1JcxOyR+ugo70M7ychcQffiKTccOUhBir7EF
         AsVQ==
X-Received: by 10.180.187.180 with SMTP id ft20mr3328812wic.78.1443705197691;
        Thu, 01 Oct 2015 06:13:17 -0700 (PDT)
Received: from [10.0.0.1] (lxplus0004.cern.ch. [188.184.68.59])
        by smtp.gmail.com with ESMTPSA id fz1sm3152864wic.8.2015.10.01.06.13.16
        for <gentoo-user@lists.gentoo.org>
        (version=TLSv1 cipher=RC4-SHA bits=128/128);
        Thu, 01 Oct 2015 06:13:16 -0700 (PDT)
Date: Thu, 1 Oct 2015 15:13:11 +0200 (CEST)
From: Jeremi Piotrowski <jeremi.piotrowski@gmail.com>
X-X-Sender: jeremi@gentoo-tp.localdomain
To: gentoo-user@lists.gentoo.org, gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] clean-up root partition
In-Reply-To: <20151001125757.GA1089@ca.inter.net>
Message-ID: <alpine.LNX.2.20.1510011510320.24084@gentoo-tp.localdomain>
References: <560D2A0E.5080708@sys-concept.com> <20151001125757.GA1089@ca.inter.net>
User-Agent: Alpine 2.20 (LNX 67 2015-01-07)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-Archives-Salt: 0d2d196b-8840-4d28-840b-ac7d5692122b
X-Archives-Hash: c559ea2feeff4a33abb049b1e2d08331

On Thu, 1 Oct 2015, Philip Webb wrote:

> 151001 thelma@sys-concept.com wrote:
> > How do you folks clean-up root partition, I have too much junk in there.
> >   df -h
> >   Filesystem      Size  Used Avail Use% Mounted on
> >   /dev/sda3        74G   61G  9.3G  87% /
> > I've already removed all the files from  /usr/portage/distfiles .
> 
> 'du' is your friend : it has lots of options, so read the 'man'.
> that will tell you what's using so much space, then you can delete stuff.

I highly recommend sys-fs/ncdu, an ncurses front end to du. Definitely
much better than piping du output through sort. You can even directly
delete folders/files when you see that something is taking up more space
than expected.