From owner-freebsd-ports@FreeBSD.ORG Sun Nov 16 23:10:22 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8C6FA0F for ; Sun, 16 Nov 2014 23:10:22 +0000 (UTC) Received: from mail-lb0-x235.google.com (mail-lb0-x235.google.com [IPv6:2a00:1450:4010:c04::235]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 94C2B7EA for ; Sun, 16 Nov 2014 23:10:22 +0000 (UTC) Received: by mail-lb0-f181.google.com with SMTP id l4so15001639lbv.26 for ; Sun, 16 Nov 2014 15:10:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type; bh=62FcAp6Ud8YiOJP06hPpXnLRwI2GdJG4ttrkMKsib+g=; b=EIRnyitX8bZais8k9g9cyJxS9g9TSvXwYasOzdWyNCRDXfIL+WJqbgNk/LMiTCmM3f tLAzrCpYi3iParoa4tJMpAGJHKGufJPZhnBud/vmouMgFIa9e3WNwShIqanGZuQy/GUz 0VwIPrGdFPTLLtFdQ8wAON669iMonCHSojEoL8avb39ZJT7Osnw9PNn+mulkaP3EgNE9 7hlMV5Kb2oXydu0D9oNCavqTFl1ccTqqVw9bBF92VcAjXitfmsE9WHVviNdrafKnAQtH sFXMwGchhGBjnOMW1eE/Rf9GKNWNVbXQhzBySIngiZtJZ+6iSMl+7nRPK3JdWEI2dT03 c/EQ== X-Received: by 10.112.141.104 with SMTP id rn8mr5911989lbb.87.1416179420354; Sun, 16 Nov 2014 15:10:20 -0800 (PST) MIME-Version: 1.0 Sender: royce.williams@gmail.com Received: by 10.112.171.73 with HTTP; Sun, 16 Nov 2014 15:10:00 -0800 (PST) In-Reply-To: <20141116225501.GA52979@ozzmosis.com> References: <20141116232937.657463ce@kirk.drpetervoigt.private> <20141116225501.GA52979@ozzmosis.com> From: Royce Williams Date: Sun, 16 Nov 2014 14:10:00 -0900 X-Google-Sender-Auth: 1ELEEhJzpIKj6ugdmAo83uuYUUM Message-ID: Subject: Re: Deleting ports distfiles To: andrew clarke Content-Type: text/plain; charset=UTF-8 Cc: FreeBSD Mailing List , "Dr. Peter Voigt" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Nov 2014 23:10:23 -0000 On Sun, Nov 16, 2014 at 1:55 PM, andrew clarke wrote: > On Sun 2014-11-16 23:29:37 UTC+0100, Dr. Peter Voigt (pvoigt@uos.de) wrote: > >> I have just seen that /usr/ports/distfiles has grown up to 12 GiB. My >> hopefully not too stupid question is: Can I safely delete all files >> under /usr/ports/distfiles, e.g. >> >> # rm -rf /usr/ports/distfiles/* >> >> I strongly suppose so but I am not sure. Thanks for any feedback. > > Yes. Missing distfiles will be redownloaded when/if you rebuild a port. You can also delete just the unused ones, if you're using portmaster or portupgrade ('portsclean' command). See the bottom of the "Using the Ports Collection" docs page: https://www.freebsd.org/doc/handbook/ports-using.html Even if you don't use portmaster for anything else, using it for this purpose is worth the install, IMO. Royce