Re: uname -v does not report an n-number

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Wed, 20 Aug 2025 20:42:26 UTC
bob prohaska <fbsd@www.zefox.net> writes:
> [...] IIRC it's possible to "set a depth", could it be set to some
> small number, like 1, 2 or maybe 3, so I get the N-number without all
> the baggage?

What you call “the N-number” is literally the depth of your repository.
If you clone with --depth=5 then it will show up as 5.  You can test it
yourself with `git rev-list --first-parent --count HEAD`.

A full clone is less than 3 GB, though, and if you're on ZFS, you can
save quite a bit by making /usr/src and /usr/obj separate datasets and
turning on compression.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org