Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jan 2015 22:03:32 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Shane Ambler <FreeBSD@ShaneWare.Biz>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: freebsd-update and lib32
Message-ID:  <B361BF9E-DDC1-4F9E-8ECF-BDD08C317E14@FreeBSD.org>
In-Reply-To: <54CBBD67.5060404@ShaneWare.Biz>
References:  <20150130145033.9c6459154a028e17b2f03f7f@mimar.rs> <54CBBD67.5060404@ShaneWare.Biz>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
On 30 Jan 2015, at 18:20, Shane Ambler <FreeBSD@ShaneWare.Biz> wrote:
> 
> On 31/01/2015 00:20, Marko Cupać 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.
> 
> 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=165175

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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.26

iEYEARECAAYFAlTL8agACgkQsF6jCi4glqNBtgCeKmvcWgYjuX9FD+8f6NM+7Bwf
fdQAoLpPYzePGkzDqZ+97yVUkkkhuKxp
=W8EA
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B361BF9E-DDC1-4F9E-8ECF-BDD08C317E14>