= Hi!
   kern.version is small part only of output uname command= .
   uname command concatane KERN_OSTYPE, KERN_HOSTNAME,
   KERN_OSRELEASE,&nb= sp;KERN_VERSION (not in this order) to show
   output.
   I hope I've he= lped.
   Trober
   tro...@trober.com
   -
   -
   -
   -
   -

   ----- Mensagem Original -----

   = De: [1]Robert Huff

   Para: [2]Trober

   Cc: [3]questi...@freebsd.org

   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.version sysctl?
     >
     >   I believe "YES", ba= sed on
     >   [1]http://www.freebsd.org/cgi/cvsweb.cgi/s     rc/usr.bin/uname/uname.c
     >
     >   See "= NATIVE_SY= SCTL2_GET(ver= sion, CTL_KERN,
     KERN_VERSION)", on
     >   sou= rce above.
     >
     >   I hope I've helped.
     It do= es.
     Next question:
     Can someone explain this:
     h...@jerusalem&= gt;> sysctl kern.version
     kern.version: FreeBSD 8.0-CURRENT #0: = Tue Jan 20 10:40:57 EST
     2009
        h...@jerusalem.litterat     us.org:/usr/obj/usr/src/sys/JERUSALEM
     h...@jerusalem>> uname -a<= BR>FreeBSD jerusalem.litteratus.org
     7.0-CURRENT FreeBSD 7.0-CURRENT= #0: Tue Jan 20 10:40:57 EST
     2009     h...@jerusalem.     litteratus.org:/usr/obj/usr/src/sys/JERUSALEM 
 i386
     Rober= t huff
     _______________________________________________
     [4]freebsd-questi...@fr= eebsd.org mailing list
     [5]http://lists.freebsd.o     rg/mailman/listinfo/freebsd-questions
     To unsubscribe, send any mail = to
     "freebsd-questions-unsubscr...@freebsd.org"

References

   1. 3D"mailto:roberth...@rcn.com   2. 3D"mailto:tro...@trober.com";
   3. 3D"mailto:questi...@freebsd.org";
   4. file://localhost/tmp/3D   5. 
3D"http://lists.freebsd.org/mai_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to