From owner-freebsd-questions@freebsd.org Sun Jan 24 23:51:44 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 61B3C7974 for ; Sun, 24 Jan 2016 23:51:44 +0000 (UTC) (envelope-from lars@noos.larseighner.com) Received: from emailserver2.asdf456.com (emailserver2.asdf456.com [72.18.207.139]) by mx1.freebsd.org (Postfix) with SMTP id 2F3F7C0 for ; Sun, 24 Jan 2016 23:51:43 +0000 (UTC) (envelope-from lars@noos.larseighner.com) Received: (qmail 20713 invoked by uid 0); 24 Jan 2016 23:51:36 -0000 Received: by simscan 1.4.0 ppid: 20702, pid: 20712, t: 0.1146s scanners:none Received: from unknown (HELO noos.larseighner.com) (70.115.135.184) by emailserver2.asdf456.com with SMTP; Sun, 24 Jan 2016 15:51:36 -0800 Received: by noos.larseighner.com (nbSMTP-1.00) for uid 1001 lars@noos.larseighner.com; Sun, 24 Jan 2016 17:49:25 -0600 (CST) Date: Sun, 24 Jan 2016 17:49:24 -0600 (CST) From: Lars Eighner X-X-Sender: lars@noos.larseighnerhome.com To: Tim Daneliuk cc: FreeBSD Mailing List Subject: Re: [installworld] Do We need /usr/obj In-Reply-To: <56A532AC.3050803@tundraware.com> Message-ID: References: <56A532AC.3050803@tundraware.com> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed 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: Sun, 24 Jan 2016 23:51:44 -0000 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. The problem is that you will need approximately the same space if and when you rebuild the system. So if you are rebuilding periodically (such as nightly), you cannot gain any space this way. If you have space in /tmp or /var you could link /usr/bin to some of that space. You could also mount removable storage at /usr/bin for the build, but this is not going to work with an automated chron job or without physical access to the machine to attach the moveable storage. -- Lars Eighner http://www.larseighner.com/index.html 8800 N IH35 APT 1191 AUSTIN TX 78753-5266