From owner-freebsd-questions@freebsd.org Fri Oct 5 10:59:04 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 312F810A37BC for ; Fri, 5 Oct 2018 10:59:04 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D04847BBCC for ; Fri, 5 Oct 2018 10:59:03 +0000 (UTC) (envelope-from yuripv@yuripv.net) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id C29F521BD6 for ; Fri, 5 Oct 2018 06:58:57 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 05 Oct 2018 06:58:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yuripv.net; h= subject:to:references:from:message-id:date:mime-version :in-reply-to:content-type:content-transfer-encoding; s=fm3; bh=k t4muZza8HrAEjdNGrBGrxLbDp3Axry4GlMUWnVdL3c=; b=zUNyhNGVBPp5ifACv 9DzSluujnGXXHmLzNCiXXNcZmJzUVPZjz7shJlra+mx0s270d5JDp1kaZW2YrrIr lBGK6bPTxZxrP0FURAqKEWCUxj2xD0yig9ZAkgeip7W5EaavTp8rDUVuRWoHiMBg 2AEDu/pGbAVfwUMKXTpt0Tb4HksVMCp+6W9Y4EP6SiLHK5iP6aaHzpMlwQXXp4Ja RxaRST6hv2su6gcTWqwuqk+rMcxd+pAjgRc7sPmSLPqWJNKg3qi/loxhReYgTpU1 MXSIe12HrOMf//5qdsz+iBLXc8ufiJlfJbgcd1ekrwqiTl8qj5XNDelB3AOBXf7V j/DtQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=kt4muZza8HrAEjdNGrBGrxLbDp3Axry4GlMUWnVdL 3c=; b=RuSz4a5pBCsIssYDJdvPqYC3EpMgChfm/f9IjHNCrafhm2Yk6b+I661sA /qy/xW33tbqL8GzPqqmHxXyyc/2jrEDSjY6j61K+P7A7cAmCKoe5fXgvM7kAo9PZ ppfjS97lrr9HHVLeJORhYP7S3ZSvIO/poaeY5Tlhi/t0sPmbFnYHQfiwkN4I9ubn fGdZXDSmTuIchOFHopJqFX0W0LB57DeE5ck+iCk0DXcqNBbQkSHK4nGToAgdYXFL UMVAe/eUgk+CVZkVhdGCtw3g2mueFwsPczUZo7ogmFG0QAHFS4V7i/vQbhDEeq99 gNuZn/qctKLQiojGxLB8s+bSRtVZw== X-ME-Sender: X-ME-Proxy: Received: from [192.168.1.2] (unknown [62.183.124.173]) by mail.messagingengine.com (Postfix) with ESMTPA id D9BCBE49FA for ; Fri, 5 Oct 2018 06:58:56 -0400 (EDT) Subject: Re: Space required for build To: freebsd-questions@freebsd.org References: <62729a99-6d11-c46e-c32e-9af1737b789c@yahoo.com> From: Yuri Pankov Message-ID: <80d8cb24-f699-26f7-0878-7e6b40d336b4@yuripv.net> Date: Fri, 5 Oct 2018 13:58:26 +0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Oct 2018 10:59:04 -0000 Thomas Mueller wrote: >> Hello! > >> I have been running short of space when building from source lately. > >> There is 12 GB available in /usr for src and obj , but this doesn't seem >> enough. Is this too little, or is there anything else wrong with my system? > >> Regards, > >> Per Gunnarsson > > > You can use a separate partition or directory, or even a different hard disk with UFS (or ZFS?) partition. > > You would need to set environment variable MAKEOBJDIRPREFIX or use null mount. And to answer the original question, that's what I have after a build of HEAD: $ du -sh /usr/{obj,src} 5.5G /usr/obj 1.3G /usr/src