From owner-freebsd-questions@FreeBSD.ORG Wed Jan 21 13:23:59 2009 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7F0FD1065687 for ; Wed, 21 Jan 2009 13:23:59 +0000 (UTC) (envelope-from trober@trober.com) Received: from karpathos3.uni5.net (karpathos3.uni5.net [200.234.199.4]) by mx1.freebsd.org (Postfix) with ESMTP id 16E4F8FC13 for ; Wed, 21 Jan 2009 13:23:58 +0000 (UTC) (envelope-from trober@trober.com) Received: from karpathos.uni5.net (karpathos3.uni5.net [200.234.199.4]) by karpathos3.uni5.net (Postfix) with ESMTP id 11C184BA53; Wed, 21 Jan 2009 11:23:58 -0200 (BRST) Received: from 189.38.95.45 (katerini.uni5.net [189.38.90.11]) by karpathos.uni5.net (Postfix) with ESMTP id BA62C140A0; Wed, 21 Jan 2009 11:23:57 -0200 (BRST) Date: Wed, 21 Jan 2009 11:23:57 -0200 From: Trober To: "Robert Huff" X-Mailer: TupiMail - www.tupimail.com - Linux:apache:v4.4.8 Content-Transfer-Encoding: quoted-printable Message-Id: <20090121132357.BA62C140A0@karpathos.uni5.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: source of uname information 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: Wed, 21 Jan 2009 13:24:00 -0000 = Hi! kern=2Eversion is small part only of output uname command= =2E uname command concatane KERN_OSTYPE, KERN_HOSTNAME, KERN_OSRELEASE,&nb= sp;KERN_VERSION (not in this order) to show output=2E I hope I've he= lped=2E Trober trober@trober=2Ecom - - - - - ----- Mensagem Original ----- = De: [1]Robert Huff Para: [2]Trober Cc: [3]questions@freebsd=2Eorg Data: Quarta, 21 De Janeiro De 2009 = 10:06 Assunto: Re: source of uname informa= tion Trober : >> Am I cor= rect in believing "uname" gets its information from the >> &= nbsp;kern=2Eversion sysctl? > > I believe "YES", ba= sed on > [1]http://www=2Efreebsd=2Eorg/cgi/cvsweb=2Ecgi/s= rc/usr=2Ebin/uname/uname=2Ec > > See "=3D NATIVE_SY= SCTL2_GET(ver=3D sion, CTL_KERN, KERN_VERSION)", on > sou= rce above=2E > > I hope I've helped=2E It do= es=2E Next question: Can someone explain this: huff@jerusalem&= gt;> sysctl kern=2Eversion kern=2Eversion: FreeBSD 8=2E0-CURRENT #0: = Tue Jan 20 10:40:57 EST 2009 huff@jerusalem=2Elitterat= us=2Eorg:/usr/obj/usr/src/sys/JERUSALEM huff@jerusalem>> uname -a<= BR>FreeBSD jerusalem=2Elitteratus=2Eorg 7=2E0-CURRENT FreeBSD 7=2E0-CURRENT= #0: Tue Jan 20 10:40:57 EST 2009 huff@jerusalem=2E= litteratus=2Eorg:/usr/obj/usr/src/sys/JERUSALEM i386 Rober= t huff _______________________________________________ [4]freebsd-questions@fr= eebsd=2Eorg mailing list [5]http://lists=2Efreebsd=2Eo= rg/mailman/listinfo/freebsd-questions To unsubscribe, send any mail = to "freebsd-questions-unsubscribe@freebsd=2Eorg" References 1. 3D"mailto:roberthuff@rcn=2Ecom= 2. 3D"mailto:trober@trober=2Ecom" 3. 3D"mailto:questions@freebsd=2Eorg" 4. file://localhost/tmp/3D= 5. 3D"http://lists=2Efreebsd=2Eorg/mai=