[Bug 298347] whereis pgrep should point to pgrep sources in /usr/src/bin/pkill
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298347] whereis does not understand MLINKS"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298347] whereis does not understand MLINKS"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298347] whereis does not understand MLINKS"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298347] whereis does not understand MLINKS"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 298347] whereis does not understand MLINKS"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 09 Sep 2026 13:30:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=298347
Bug ID: 298347
Summary: whereis pgrep should point to pgrep sources in
/usr/src/bin/pkill
Product: Base System
Version: 16.0-CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs@FreeBSD.org
Reporter: saper@saper.info
The whereis utility checks the standard binary, manual page, and source
directories for the specified programs, printing out the paths of any it finds.
Program sources are located in a list of known standard places, including all
the subdirectories of /usr/src and /usr/ports.
Example:
> whereis pkill
pkill: /usr/bin/pkill /usr/share/man/man1/pkill.1.gz /usr/src/bin/pkill
but
> whereis pgrep
pgrep: /usr/bin/pgrep /usr/share/man/man1/pgrep.1.gz
This is because we have
LINKS= ${BINDIR}/pkill ${BINDIR}/pgrep
MLINKS= pkill.1 pgrep.1
and whereis does not understand that.
--
You are receiving this mail because:
You are the assignee for the bug.