From owner-freebsd-questions@freebsd.org Mon Jan 25 08:18:36 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 6D6D1A45CC8 for ; Mon, 25 Jan 2016 08:18:36 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 36A9797C for ; Mon, 25 Jan 2016 08:18:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-101-208.dynamic.qsc.de [92.195.101.208]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 76F1C2763C; Mon, 25 Jan 2016 09:18:25 +0100 (CET) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u0P8IPcQ002560; Mon, 25 Jan 2016 09:18:25 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Mon, 25 Jan 2016 09:18:25 +0100 From: Polytropon To: Lars Eighner Cc: Tim Daneliuk , FreeBSD Mailing List Subject: Re: [installworld] Do We need /usr/obj Message-Id: <20160125091825.b5888ec3.freebsd@edvax.de> In-Reply-To: References: <56A532AC.3050803@tundraware.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 08:18:36 -0000 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. :-) 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! -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...