question freebsd v4.10 (v4.9.1 ?)

M. Warner Losh imp at bsdimp.com
Sun May 30 14:08:09 PDT 2004


In message: <Pine.LNX.4.60.0405302031510.194 at hp>
            rmkml <rmkml at wanadoo.fr> writes:
: Hi,
: 
: I use last freebsd v4.10,
: 
: and found this :
: 
: /sbin# /usr/bin/file ./adjkerntz
: ./adjkerntz:       ELF 32-bit LSB executable, Intel 80386, version 1 
: (FreeBSD), for FreeBSD 4.9.1, statically linked, stripped
: 
: 4.9.1 ?
: 
: same binary in /bin /sbin ...

__FreeBSD_version is encoded into the headers.  4.10 is encoded as
4.9.1 because there's no way to encode 4.10.  There should be code in
file to cope with this anomaly (5.x encodes differently than 4.x, but
only just a little), but there isn't.

Warner


More information about the freebsd-hackers mailing list