On Wed, Aug 27, 2025 at 04:03:18PM +0200, Kurt Jaeger wrote:
> Hi!
>
> > > Question: is there any concept to get some proper version information
> > > into these binaries, from which then some identity and the commit tag
> > > could be retrieved from which they were created?
> >
> > Maybe:
> >
> > # strings /boot/loader.efi | fgrep Revision
> > DFreeBSD/amd64 EFI loader, Revision 3.0
>
> I tried this:
>
> strings loader.efi | fgrep Revision
> 11.1:
> FreeBSD/amd64 EFI loader, Revision 1.1
> 12.2:
> FreeBSD/amd64 EFI loader, Revision 1.1
> 13.2:
> FreeBSD/amd64 EFI loader, Revision 1.1
> 14.x/15.x:
> FreeBSD/amd64 EFI loader, Revision 3.0
>
> but the size of the file was different in all 1.1 cases.
> So I'm not sure it really defines the exact version.
>
> --
> p...@freebsd.org         +49 171 3101372                  Now what ?
>

This was exactly my experience in the forum post. Multiple versions
had the same "Revision" tag, and there is no way to crossreference
with a specific Freebsd version.

------------------------------------------------------------------
Russell Adams                        russell.ad...@adamssystems.nl
Principal Consultant                     Adams Systems Consultancy
                                          https://adamssystems.nl/

Reply via email to