Page MenuHomeFreeBSD

hier(7): remove /usr/freebsd-dist entry
AbandonedPublic

Authored by mhorne on Jun 27 2023, 5:41 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 22, 5:05 AM
Unknown Object (File)
Sep 24 2024, 4:13 AM
Unknown Object (File)
Sep 24 2024, 2:58 AM
Unknown Object (File)
Sep 18 2024, 12:26 PM
Unknown Object (File)
Sep 9 2024, 5:56 AM
Unknown Object (File)
Sep 8 2024, 7:28 PM
Unknown Object (File)
Sep 7 2024, 7:40 PM
Unknown Object (File)
Aug 28 2024, 2:52 AM
Subscribers

Details

Summary

This directory exists as the location where bsdinstall(8) will
find/download the distribution files. It is not present on an standard
installed system. Remove the entry from hier(7).

PR: 261349
Reported by: karels

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 52298
Build 49189: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jun 27 2023, 8:11 PM

Incidentally, from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261349#c22:

… present on the ISO …

This does not alter my feeling that it is reasonable to delist /usr/freebsd-dist/.

With usr/ described as contains the majority of user utilities and applications, the dist part of freebsd-dist/ should be enough for a curious person to assume that directory contents will relate to an application (or utility) for a FreeBSD distro/distribution.


I hesitate only because I wonder where we should draw a line with regard to pruning for what's not found in a standard installed system. Discuss under https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261349#c25, if you like.

Thanks

On second thought, let's just keep it. There's nothing wrong with this entry.