From owner-freebsd-stable@FreeBSD.ORG Fri Jan 30 21:03:41 2015 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E1F3F957 for ; Fri, 30 Jan 2015 21:03:41 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 99F5F845 for ; Fri, 30 Jan 2015 21:03:41 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::54bd:fa60:3db8:12b0] (unknown [IPv6:2001:7b8:3a7:0:54bd:fa60:3db8:12b0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 19F3F5C2E; Fri, 30 Jan 2015 22:03:38 +0100 (CET) Subject: Re: freebsd-update and lib32 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_C588FCE6-FE51-42E8-897E-B91AE9DFB346"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b4 (755500a+) From: Dimitry Andric In-Reply-To: <54CBBD67.5060404@ShaneWare.Biz> Date: Fri, 30 Jan 2015 22:03:32 +0100 Message-Id: References: <20150130145033.9c6459154a028e17b2f03f7f@mimar.rs> <54CBBD67.5060404@ShaneWare.Biz> To: Shane Ambler X-Mailer: Apple Mail (2.2070.6) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jan 2015 21:03:42 -0000 --Apple-Mail=_C588FCE6-FE51-42E8-897E-B91AE9DFB346 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On 30 Jan 2015, at 18:20, Shane Ambler wrote: >=20 > On 31/01/2015 00:20, Marko Cupa=C4=87 wrote: ... >> I have noticed that, after initial install of FreeBSD 10.1-RELEASE >> without lib32 selected, /usr/lib32 folder is created nevertheless, >> containing 3 empty dirs: dtrace, i18n and private. However, running >> freebsd-update on such system pulls a bunch of files into /usr/lib32 >> and its subdirs while updating to FreeBSD 10.1-RELEASE-p5. >=20 > Doing a buildworld WITHOUT_LIB32 still creates these dirs. I reported > it a while back but it is still on someones todo list. Not sure if = that > is also related to freebsd-update or is the cause of it triggering the > lib32 install. > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D165175 Yes, this is because installworld creates all the directories in the destination with mtree(8), using the specification files in /usr/src/etc/mtree. However, mtree does not support conditional creation, for example to only create /usr/lib32 when you have that option enabled. I'm not sure if anybody is working on this, as it is not a very big issue: empty directories do not influence the working of your system, and they cost almost no disk space. But it is rather tricky to solve, at least in an elegant way. -Dimitry --Apple-Mail=_C588FCE6-FE51-42E8-897E-B91AE9DFB346 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlTL8agACgkQsF6jCi4glqNBtgCeKmvcWgYjuX9FD+8f6NM+7Bwf fdQAoLpPYzePGkzDqZ+97yVUkkkhuKxp =W8EA -----END PGP SIGNATURE----- --Apple-Mail=_C588FCE6-FE51-42E8-897E-B91AE9DFB346--