On Thu, Nov 13, 2025 at 04:13:04PM -0800, Steve Rikli wrote:
>Somewhat. My /usr/obj/ today is local to the buildworld's sysdisk so no
>NFS is involved in writing to /usr/obj/ -- only /usr/src/ is from NFS,
>and it is read-only.
>
>But some of the notes in the bug make me wonder if moving /usr/obj/ to
>NFS, as well as /usr/src/, might somehow produce different results.
>
>The NFS /usr/obj/ export would have to be writeable, of course, but I'd
>prefer to keep /usr/src/ read-only, assuming that's a supported setup
>for buildworld.
>
>That aside, I still wonder about buildworld having some problem with
>"/usr/src/" vs. a /usr/src symlink which points to "/net/srv/...".
I don't see why /usr/obj or /usr/src over nfs wouldn't be supported
I mean the /usr/obj over nfs not working properly is the basis for
that ticket after all. I'm not the OP of that PR though.
Having /usr/obj /usr/src and /var/cache/ccache over nfs is very useful
in situations where the client machine might be low on resources like
disk space or have low performance disk media like mmcsd, but might
have acceptable network throughput.
I think a symlink (particularly a soft link) might produce unexpected
results though. The last time I tried that in a buildworld context was
many years ago and although I don't remember the exact outcome, I didn't
persist with that configuration.
--