Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Nov 2023 18:09:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 275030] buildworld fails if obj dir is NFS-mounted [patch]
Message-ID:  <bug-275030-227-BjFgMT6Nm9@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-275030-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-275030-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275030

--- Comment #14 from Martin Birgmeier <d8zNeCFG@aon.at> ---
(In reply to Warner Losh from comment #13)

On two machines with /usr/bin/basename on UFS, the uarch bit is not set. On=
 one
machine with a ZFS root, uarch is set on /usr/bin/basename.

Also, to minimize changing files after a buildworld, I first install into a
temporary destination and then copy over only the files which differ. And t=
his
using tar: ( cd <tmp dir> && tar cfT - <list of changed files> ) | ( cd / &&
tar xfp -). Before this copy, the old files in / are simply removed. There =
are
additional steps to deal with schg files and removed files, but this is not
important here.

Summarizing, it is probably tar which sets uarch and/or root-on-zfs.

-- Martin

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275030-227-BjFgMT6Nm9>