Page MenuHomeFreeBSD

Link /usr/bin/cpuset to a relative path
ClosedPublic

Authored by ngie on Aug 11 2023, 1:14 AM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 15 2025, 2:26 PM
Unknown Object (File)
Dec 14 2025, 5:29 PM
Unknown Object (File)
Dec 13 2025, 8:03 AM
Unknown Object (File)
Dec 7 2025, 5:26 AM
Unknown Object (File)
Nov 27 2025, 12:58 PM
Unknown Object (File)
Nov 25 2025, 4:57 AM
Unknown Object (File)
Nov 22 2025, 10:25 PM
Unknown Object (File)
Nov 21 2025, 2:33 PM
Subscribers
None

Details

Summary

This creates an appropriate symlink instead of a potentially incorrect
path.

MFC after: 2 weeks
Requested by: imp

Test Plan

Confirmed cpuset continued to work after the change:

$ ls -l /usr/bin/cpuset
lrwxr-xr-x  1 root wheel 16 Aug 10 18:09 /usr/bin/cpuset -> ../../bin/cpuset
$ /usr/bin/cpuset true
$ sudo /usr/bin/cpuset -g -p 1 
pid 1 mask: 0, 1, 2, 3, 4, 5
pid 1 domain policy: first-touch mask: 0
$

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ngie requested review of this revision.Aug 11 2023, 1:14 AM
ngie edited the test plan for this revision. (Show Details)
ngie added reviewers: imp, kevans.
ngie removed a subscriber: imp.
This revision is now accepted and ready to land.Aug 11 2023, 2:24 AM
This revision was automatically updated to reflect the committed changes.