From owner-freebsd-current@freebsd.org Fri Dec 15 12:02:46 2017 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9CE02EA47A0 for ; Fri, 15 Dec 2017 12:02:46 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from mx.catwhisker.org (mx.catwhisker.org [198.144.209.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F4AA73775; Fri, 15 Dec 2017 12:02:45 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.15.2/8.15.2) with ESMTP id vBFC2itp072324; Fri, 15 Dec 2017 12:02:44 GMT (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.15.2/8.15.2/Submit) id vBFC2iFi072323; Fri, 15 Dec 2017 04:02:44 -0800 (PST) (envelope-from david) Date: Fri, 15 Dec 2017 04:02:43 -0800 From: David Wolfskill To: Wolfram Schneider Cc: freebsd-current Subject: Re: /usr/obj is 11GB huge on FreeBSD 12-current Message-ID: <20171215120243.GB1179@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , Wolfram Schneider , freebsd-current References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Q6krFlhYnjrU02zP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.1 (2017-09-22) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Dec 2017 12:02:46 -0000 --Q6krFlhYnjrU02zP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Dec 15, 2017 at 10:12:09AM +0100, Wolfram Schneider wrote: > Hi, >=20 > I upgraded a machine from 11-stable to 12-current. The /usr/obj tree > is now 11GB huge: >=20 > FreeBSD 12-current > $ du -hs /usr/obj > 11G /usr/obj >=20 > on FreeBSD 11-stable it was less the size: > $ du -hs /usr/obj > 5.6G /usr/obj >=20 > this is a problem when you have a small VM with 20GB disk space or less. >=20 > Is there a way to use less /usr/obj disk space during build? I know > that we have to do some bootstrapping for newer compiler tools, but > does we need to keep all temp files during the build? There was a change near the beginning of November; please see UPDATING entry 20171101 -- you probably have several no-longer-used subdirectories under /usr/obj/usr/src/. Once those are cleared out, my experience (tracking stable/11 & head in different slices on the same machines) is that stbale/11 is using about 5.0G, while head uses about 6.1G. > ... Peace, david --=20 David H. Wolfskill david@catwhisker.org The US "cannot afford" Trump as President or Roy Moore in the Senate. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --Q6krFlhYnjrU02zP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAEBCgBmBQJaM7njXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRDQ0I3Q0VGOTE3QTgwMUY0MzA2NEQ3N0Ix NTM5Q0M0MEEwNDlFRTE3AAoJEBU5zECgSe4X4Z8H/iieWbI/tx2lhxurfGN4tOIK vta2aAPS/xcjFS8jH1iR0bnfezbwxvc6wv4MksXYlPrYbumGAxw2paSowTdRb8Ye yGAAXP2xLBzfTAG5XLii551PTX6gHGyGJrz+IiosQ2+b6jiSZiKVY/bFU7m8lsSB JSMc3ajcud5qxpnjQ9FjvNgy1PvVFOoCVxEdZDTu3nG65NpRlVEpWcar55qmdIMy 8P/F3EoXRxJsyDISzRj7zvNfF5Sijub9M/EIFXJ41Fovwbn9uIKin1NWGikG7C0v H0wXnORxSND4NkCQMCvR9UzZRJw/m7OXVFu/E8Xnk5F5jzlPdahkyFncCb6i3rM= =F++T -----END PGP SIGNATURE----- --Q6krFlhYnjrU02zP--