How does /usr/bin/uname work in plain english?

bob prohaska fbsd at www.zefox.net
Thu Jan 14 05:46:32 UTC 2021


On Wed, Jan 13, 2021 at 10:15:32PM -0700, Warner Losh wrote:
> > > __FreeBSD_version is defined in sys/param.h. For -U, uname prints that
> > > value. For -K, it asks the kernel for this value to print.
> > >
> > > MMmmnnn where MM is the major version, mm is minor, and nnn is
> > incremental
> > > when the APIs change, approximately weekly.
> > >

Sounds like the numbers are manually set by humans...
I imagined something much more automated.

> 
> He has a newer kernel than userland... however that came to be...
> 
Yes, a new kernel was compiled to fix the "won't boot with HDMI connected"
problem on Raspberry Pi.

Thanks for explaining!

bob prohaska


More information about the freebsd-current mailing list