From owner-freebsd-questions@freebsd.org Mon Jan 25 14:09:23 2016 Return-Path: Delivered-To: freebsd-questions@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 4922BA462B5 for ; Mon, 25 Jan 2016 14:09:23 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from oceanview.tundraware.com (oceanview.tundraware.com [45.55.60.57]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oceanview.tundraware.com", Issuer "oceanview.tundraware.com" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E8317AA7 for ; Mon, 25 Jan 2016 14:09:22 +0000 (UTC) (envelope-from tundra@tundraware.com) Received: from [192.168.43.211] (mobile-166-175-190-11.mycingular.net [166.175.190.11] (may be forged)) (authenticated bits=0) by oceanview.tundraware.com (8.15.2/8.15.2) with ESMTPSA id u0PE8nnK082679 (version=TLSv1.2 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 25 Jan 2016 08:08:50 -0600 (CST) (envelope-from tundra@tundraware.com) Subject: Re: [installworld] Do We need /usr/obj To: Polytropon , Lars Eighner References: <56A532AC.3050803@tundraware.com> <20160125091825.b5888ec3.freebsd@edvax.de> Cc: FreeBSD Mailing List From: Tim Daneliuk Message-ID: <56A62C69.8050504@tundraware.com> Date: Mon, 25 Jan 2016 08:08:41 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 MIME-Version: 1.0 In-Reply-To: <20160125091825.b5888ec3.freebsd@edvax.de> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (oceanview.tundraware.com [45.55.60.57]); Mon, 25 Jan 2016 08:08:51 -0600 (CST) X-TundraWare-MailScanner-Information: Please contact the ISP for more information X-TundraWare-MailScanner-ID: u0PE8nnK082679 X-TundraWare-MailScanner: Found to be clean X-TundraWare-MailScanner-From: tundra@tundraware.com X-Spam-Status: No X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jan 2016 14:09:23 -0000 On 01/25/2016 02:18 AM, Polytropon wrote: > On Sun, 24 Jan 2016 17:49:24 -0600 (CST), Lars Eighner wrote: >> On Sun, 24 Jan 2016, Tim Daneliuk wrote: >> >>> One of the servers I maintain has a very small footprint (it's a VPS). >>> It is set up to do a full buildworld/buildkernel every night. That way, >>> when its time to upgrade for, say, security reasons, there is no build delay >>> (which takes nearly 5 hours on this virtual machine). >>> >> >> Yes, you can delete /usr/bin after installworld. > > Deleting /usr/bin is not a good idea; deleting /usr/obj is a better one. :-) Yep, that's what I meant alright ... /usr/obj. > > Allow me an addition: It's possible that you'll need /usr/obj for > the mergemaster steps as well (I'm not fully sure which files will > be sourced from /usr/src and which from /usr/obj). So it's probably > a good advice to have a look at /usr/src/Makefile's comment header > in order to check the correct order of operations which might involve > using /usr/obj _after_ "make installworld". > > > >> If you have space in /tmp or /var you could link /usr/bin to some of that >> space. > > If you have sufficient RAM for that instance, it's probably possible > to put /usr/obj in memory as "scratch space". In this case, always > check your swap configuration! > > > > -- ---------------------------------------------------------------------------- Tim Daneliuk tundra@tundraware.com PGP Key: http://www.tundraware.com/PGP/