uname(1): implement -K and -U options

Operating Systems / DragonFlyBSD - Daniel Fojt [neosystem.org] - 11 October 2020 13:48 UTC

Add two new options to print version of the running kernel (-K) and user environment (-U).

Taken from: FreeBSD Disscussed with: Sascha Wildner, Pierre-Alain TORET

baa11e697d uname(1): implement -K and -U options
usr.bin/uname/uname.1 | 20 ++++++++++++++++++--
usr.bin/uname/uname.c | 42 ++++++++++++++++++++++++++++++++++++++----
2 files changed, 56 insertions(+), 6 deletions(-)

Upstream: gitweb.dragonflybsd.org


  • Share