Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 May 2004 15:06:30 -0600 (MDT)
From:      "M. Warner Losh" <imp@bsdimp.com>
To:        rmkml@wanadoo.fr
Cc:        hackers@freebsd.org
Subject:   Re: question freebsd v4.10 (v4.9.1 ?)
Message-ID:  <20040530.150630.101560519.imp@bsdimp.com>
In-Reply-To: <Pine.LNX.4.60.0405302031510.194@hp>
References:  <Pine.LNX.4.60.0405302031510.194@hp>

next in thread | previous in thread | raw e-mail | index | archive | help
In message: <Pine.LNX.4.60.0405302031510.194@hp>
            rmkml <rmkml@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040530.150630.101560519.imp>