Re: [RFC] Introduce semantic versioning 2.0.0 to FreeBSD releases

Tomek CEDRO <[email protected]>
Newsgroups gmane.os.freebsd.devel.hackers
Message-ID <CAFYkXjnj0_zQZagJUtX=fH+ByoH0qr1C4i=oM3tbgFjfA=mqQA@mail.gmail.com>
On Wed, Feb 25, 2026, 20:26 vermaden <[email protected]> wrote:

> Hi,
>
> I would prefer staying with what we have ... for consistency.
>
> All the tools/scripts/everything have already been 'taught' to interpret
> 14.3-RELEASE-p7 format.
>
> Switching *now* after more then 30 years of FreeBSD releases would only
> cause this: https://xkcd.com/927/
>
> No one wants that confusion.
>

+1 :-)


>  ... but I have better idea.
>
> We already have these:
>
>     % sysctl kern | grep -e kern.osrelease -e kern.version
>     kern.osrelease: 14.3-RELEASE-p7
>     kern.version: FreeBSD 14.3-RELEASE-p7 GENERIC
>
> Adding additional 'kern.dotrelease' which would be in 0.0.0 format will
> not hurt anyone - yet you will have your version.
>
>     % sysctl kern | grep -e kern.osrelease -e kern.version
>     kern.osrelease: 14.3-RELEASE-p7
>     kern.version: FreeBSD 14.3-RELEASE-p7 GENERIC
>     kern.dotrelease: 14.3.7
>
> ... and I would also add '-d' flag for freebsd-version(*) to print FreeBSD
> version in '0.0.0' format.
>
> Regards,
> vermaden
>

++1 :-) :-)

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.