On Fri, Aug 16, 2019 at 12:10:21PM +0200, Tor Houghton wrote: > 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.) > > Is there a way to get this information without using 'strings' and 'grep'?
I suppose there is no escaping grep, but with this [Fri Aug 16 12:18:20] peter@skapet:~$ dmesg | grep OpenBSD | tail -1 OpenBSD 6.6-beta (GENERIC.MP) #201: Sun Aug 11 23:13:55 MDT 2019 at least you don't need to mess with strings. There may be smarter ways, I'm all ears. -- Peter -- Peter N. M. Hansteen, member of the first RFC 1149 implementation team http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/ "Remember to set the evil bit on all malicious network traffic" delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.