From owner-freebsd-questions@FreeBSD.ORG Thu Nov 8 21:38:11 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99EB516A474 for ; Thu, 8 Nov 2007 21:38:11 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr14.xs4all.nl (smtp-vbr14.xs4all.nl [194.109.24.34]) by mx1.freebsd.org (Postfix) with ESMTP id 12A6F13C4B6 for ; Thu, 8 Nov 2007 21:38:10 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr14.xs4all.nl (8.13.8/8.13.8) with ESMTP id lA8Lc1Ba068394; Thu, 8 Nov 2007 22:38:01 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 19789B8FC; Thu, 8 Nov 2007 22:38:01 +0100 (CET) Date: Thu, 8 Nov 2007 22:38:01 +0100 From: Roland Smith To: John Smith Message-ID: <20071108213801.GA72691@slackbox.xs4all.nl> Mail-Followup-To: John Smith , Yuri Pankov , FreeBSD Questions Mailing List References: <6dcf0dbc0711080901g49043bb1u1a8e38cfacbde15c@mail.gmail.com> <20071108175951.GC18314@darklight.org.ru> <6dcf0dbc0711081316h7748e759w101e5df72e1514d7@mail.gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="zhXaljGHf11kAtnf" Content-Disposition: inline In-Reply-To: <6dcf0dbc0711081316h7748e759w101e5df72e1514d7@mail.gmail.com> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.16 (2007-06-09) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: Yuri Pankov , FreeBSD Questions Mailing List Subject: Re: Determine FreeBSD version of binary X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2007 21:38:11 -0000 --zhXaljGHf11kAtnf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 08, 2007 at 10:16:38PM +0100, John Smith wrote: > On Nov 8, 2007 6:59 PM, Yuri Pankov wrote: > > > > May be not entirely correct, but close: > > > > ldd binary | grep libc.so > > >=20 > Yes, that helps somewhat. At least I now know that it's FreeBSD 4.x. > And before I again forget something I forgot to mention earlier on: I > also have a file called 'kernel'. Could that somehow give somewhat > more detailed information about exactly which 4.x kernel it is, and if > so, how would I go about doing that ? The command 'strings kernel | grep "^@(#)FreeBSD"' should do the trick. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --zhXaljGHf11kAtnf Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFHM4G5EnfvsMMhpyURAqSnAKCGfl7JoBxI0M3CUNbzOKPoFZcy7gCfakjo 9vYLfjxOndegsL1yyIuc7M8= =wCSw -----END PGP SIGNATURE----- --zhXaljGHf11kAtnf--