From owner-freebsd-hackers@FreeBSD.ORG Sun May 30 14:08:09 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 95E5E16A4CE for ; Sun, 30 May 2004 14:08:09 -0700 (PDT) Received: from harmony.village.org (rover.village.org [168.103.84.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id E5FDE43D58 for ; Sun, 30 May 2004 14:08:08 -0700 (PDT) (envelope-from imp@bsdimp.com) Received: from localhost (warner@rover2.village.org [10.0.0.1]) by harmony.village.org (8.12.11/8.12.11) with ESMTP id i4UL65rr086584; Sun, 30 May 2004 15:06:05 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 30 May 2004 15:06:30 -0600 (MDT) Message-Id: <20040530.150630.101560519.imp@bsdimp.com> To: rmkml@wanadoo.fr From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 3.3 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: hackers@freebsd.org Subject: Re: question freebsd v4.10 (v4.9.1 ?) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2004 21:08:09 -0000 In message: rmkml 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