From owner-freebsd-questions@freebsd.org Sun Jan 24 21:07:45 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 D475A9D90A7 for ; Sun, 24 Jan 2016 21:07:45 +0000 (UTC) (envelope-from terje@elde.net) Received: from rand.keepquiet.net (keepquiet.net [144.76.43.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "keepquiet.net", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9BE31859 for ; Sun, 24 Jan 2016 21:07:44 +0000 (UTC) (envelope-from terje@elde.net) Received: from [10.130.11.109] (cm-84.210.87.28.getinternet.no [84.210.87.28]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: terje@elde.net) by rand.keepquiet.net (Postfix) with ESMTPSA id 1AC13717; Sun, 24 Jan 2016 21:07:42 +0000 (UTC) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: [installworld] Do We need /usr/obj From: Terje Elde X-Mailer: iPhone Mail (13D15) In-Reply-To: <56A53AA1.1010405@tundraware.com> Date: Sun, 24 Jan 2016 22:07:40 +0100 Cc: FreeBSD Mailing List Content-Transfer-Encoding: quoted-printable Message-Id: <9D1058C8-6599-44B7-9C20-1A0F3DA48FE0@elde.net> References: <56A532AC.3050803@tundraware.com> <56A53AA1.1010405@tundraware.com> To: Tim Daneliuk 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 21:07:45 -0000 On 24 Jan 2016, at 21:57, Tim Daneliuk wrote: >> Why build on the machine then? Why not just build on and install from ano= ther? >=20 > Because this machine is many networks away and installation over the wire w= ould take > quite a while, I think. Well, yes, it would take time, but surely not more than compiling everything= on it? There's multiple ways you could do this: - nfs-mount /usr/src and obj - copy them over only if needed - do a binary-upgrade, with sources you compiled They're all quite workable. I've done the first with nfs over IPSec, about 5= 0ms. latency. Not fast, I'll give you that, but practical and fast enough (f= or my use at the time at least).=20 >> Well, that's where your built stuff goes, so it's where you'd install fil= es from if you upgrade. >=20 > So you DO need /usr/obj for the installs then? Yes.=20 >> Also, it wouldn't really help you to delete it. With your current setup, y= ou'd need the space again the next night, wouldn't you? >=20 > The idea would be to have the rebuild scripts clean out /usr/obj when they= are done ... if it were no longer needed. Yes, but whatever space that frees up for you, you couldn't really use freel= y anyway, since you'd need that space again for the next build? Terje