Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 11:23:57 -0200
From:      Trober <trober@trober.com>
To:        "Robert Huff" <roberthuff@rcn.com>
Cc:        questions@freebsd.org
Subject:   Re: source of uname information
Message-ID:  <20090121132357.BA62C140A0@karpathos.uni5.net>

next in thread | raw e-mail | index | archive | help

   = 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=



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