After rS348611 the kernel's build-ID is available via sysctl. Add a -b flag to uname to report it.
Details
Details
- Reviewers
ali_mashtizadeh.com imp markj - Group Reviewers
manpages - Commits
- rS349469: Expose the kernel's build-ID through `uname -b`
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
usr.bin/uname/uname.1 | ||
---|---|---|
39 ↗ | (On Diff #58224) | The flag list needs to be updated. |
usr.bin/uname/uname.1 | ||
---|---|---|
39 ↗ | (On Diff #58224) | Thanks, fixed locally. |
Comment Actions
@imp asked on IRC what would happen if run on a kernel without the kern.build_id sysctl - it would report:
volta% usr.bin/uname/obj/uname -b uname: sysctlbyname: No such file or directory