cpuset(8): move to /bin/
authorEnji Cooper <ngie@FreeBSD.org>
Thu, 11 May 2023 05:54:51 +0000 (22:54 -0700)
committerEnji Cooper <ngie@FreeBSD.org>
Fri, 11 Aug 2023 07:49:02 +0000 (00:49 -0700)
commitf05948d4e98d3abd0965a2994e9e42add6908ff3
tree9e1cd6e92f5ca9ff1225f8e78c43b05edcb9427c
parentfb055b01eb04914ea1aadc7c88090093a8481fe7
cpuset(8): move to /bin/

Summary:
This change moves /usr/bin/cpuset to /bin/cpuset so it is more readily
available on hosts where the /usr partition might not be mounted at the
time / has been mounted.

Remove some complexity from rc.subr(8) since /bin is assumed to always
be present if/when / is mounted.

MFC after: 2 weeks
MFC with: 0661f93892a2271d552379af

Test Plan:
- Test out rc.subr change.
- Confirm that the installation logic does what's needed.

Relnotes: yes (moving cpuset may impact strict file permissions/mode checking)
Reviewers: kevans
Subscribers: imp
Differential Revision: https://reviews.freebsd.org/D40057
bin/Makefile
bin/cpuset/Makefile [moved from usr.bin/cpuset/Makefile with 59% similarity]
bin/cpuset/Makefile.depend [moved from usr.bin/cpuset/Makefile.depend with 100% similarity]
bin/cpuset/cpuset.1 [moved from usr.bin/cpuset/cpuset.1 with 100% similarity]
bin/cpuset/cpuset.c [moved from usr.bin/cpuset/cpuset.c with 100% similarity]
libexec/rc/rc.subr
usr.bin/Makefile