Hi Tor,
Tor Houghton wrote on Fri, Aug 16, 2019 at 12:10:21PM +0200:
> My /bsd contains the following:
>
> OpenBSD 6.5 (GENERIC) #2: Tue Jul 23 23:21:38 CEST 2019
>
> I _think_ this means that the kernel has been built/relinked twice, with
> the date when this was done. (Please do correct me if I am wrong.)
Consider the number just an ID number, not guaranteed to be unique.
> Is there a way to get this information without using 'strings' and 'grep'?
>
> ('uname' gives some of this, of course.)
schwarze@isnote $ sysctl kern.version
kern.version=OpenBSD 6.6-beta (GENERIC.MP) #215: Wed Aug 14 21:54:58 MDT 2019
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
Yours,
Ingo