Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Jan 2021 19:22:09 -0800
From:      bob prohaska <fbsd@www.zefox.net>
To:        freebsd-current@freebsd.org
Cc:        bob prohaska <fbsd@www.zefox.net>
Subject:   How does /usr/bin/uname work in plain english?
Message-ID:  <20210114032209.GA94213@www.zefox.net>

next in thread | raw e-mail | index | archive | help
Since the switch to git I've been wondering how /usr/bin/uname works.
The man page is thin on details and uname.c is far too subtle.

For example, on my test box uname -a reports
FreeBSD www.zefox.org 13.0-CURRENT FreeBSD 13.0-CURRENT #7 main-c255937-g818390ce0ca5: Wed Jan 13 16:42:12 PST 2021     bob@www.zefox.org:/usr/obj/usr/freebsd-src/arm64.aarch64/sys/GENERIC-MMCCAM  arm64
which seems to replay git nomeclature.

However, uname -KU reports
1300135 1300134
which is admirably readable, even for me. 

Is there a natural language description detailing  how 
uname -KU outputs are computed, and roughly what they mean? 
I've noticed that different sources sometimes produce the 
same values, so the level of detail is less, but might suffice
for initial reports to the mailing lists.

Thanks for reading,

bob prohaska

 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210114032209.GA94213>