From owner-freebsd-hackers@FreeBSD.ORG Sat Apr 20 12:16:39 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A8AFE4A3; Sat, 20 Apr 2013 12:16:39 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) by mx1.freebsd.org (Postfix) with ESMTP id 7120D1ADE; Sat, 20 Apr 2013 12:16:39 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::15fb:7073:6a12:b988] (unknown [IPv6:2001:7b8:3a7:0:15fb:7073:6a12:b988]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 438B75C44; Sat, 20 Apr 2013 14:16:36 +0200 (CEST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: WORLDTMP on a ram disk From: Dimitry Andric In-Reply-To: Date: Sat, 20 Apr 2013 14:16:45 +0200 Content-Transfer-Encoding: 7bit Message-Id: <60A8F6C1-2A06-4646-9A28-83608FF23443@FreeBSD.org> References: To: Kimmo Paasiala X-Mailer: Apple Mail (2.1503) Cc: freebsd-hackers@freebsd.org, FreeBSD current X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Apr 2013 12:16:39 -0000 On Apr 20, 2013, at 11:55, Kimmo Paasiala wrote: > Poking around the /usr/src/Makefile.inc1 I see that there's a variable > called "WORLDTMP" that seems to set the location for temporary files > during the world build. My question is now: > > Is it safe to put WORLDTMP on a ram disk, for example tmpfs(5)? > > Looking at the build process it seems to me that the temporary files > are no longer needed after make buildworld has finished? The problem is that you need those temporary files for installworld, and you must reboot with your new kernel before running that...