Re: source of uname information
Hi. I believe YES, based on [1]http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.b in/uname/uname.c?rev=1.14.28.1;content-type=text%2Fplain . See NATIVE_SYSCTL2_GET(version, CTL_KERN, KERN_VERSION), on source abov= e. I hope I've helped. Trober tro...@trober.com - - - - - - Mensagem Original - = De: [2]Robert Huff Para: [3]questi...@freebsd.org= /DIV Data: Quarta, 21 De Janeiro De 2009 = 03:26 Assunto: source of uname information = BRAm I correct in believing uname gets its information from the kern= .version sysctl? Robert Huff __= _ [4]freebsd-questi...@freebsd.org mailing list [5]http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freeb sd.org References 1. file://localhost/tmp/3Dhtt 2. 3Dmailto:roberth...@rcn.com 3. 3Dmailto:questi...@freebsd.org; 4. 3Dmailto:freebsd-questions@freebsd.org; 5. =http://lists.freebsd.org/mailman/listinfo/freebsd-questions; ___ 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
Re: source of uname information
Hi. I believe YES, based on [1]http://www.freebsd.org/cgi/cvsweb. cgi/src/usr.bin/uname/uname.c?rev=1.14.28.1;content-type=3 Dtext= %2Fplain. See = NATIVE_SYSCTL2_GET(ver= sion, CTL_KERN, KERN_VERSION), on source above. I hope I've helpe= d. Trober tro...@trober.com - - - - - - Mensagem Original - = De: [2]Robert Huff Para: [3]questi...@freebsd.org= /DIV Data: Quarta, 21 De Janeiro De 2009 = 03:26 Assunto: source of uname information = BRAm I correct in believing uname gets its information from the kern= .version sysctl? Robert Huff __= _ [4]freebsd-questi...@freebsd.org mailing list [5]http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freeb sd.org References 1. file://localhost/tmp/3Dhtt 2. 3Dmailto:roberth...@rcn.com 3. 3Dmailto:questi...@freebsd.org; 4. 3Dmailto:freebsd-questions@freebsd.org; 5. =http://lists.freebsd.org/mailman/listinfo/freebsd-questions; ___ 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
Re: source of uname information
Trober tro...@trober.com: Am I correct in believing uname gets its information from the kern.version sysctl? I believe YES, based on [1]http://www.freebsd.org/cgi/cvsweb.cgi/src/usr.bin/uname/uname.c See = NATIVE_SYSCTL2_GET(ver= sion, CTL_KERN, KERN_VERSION), on source above. I hope I've helped. It does. Next question: Can someone explain this: h...@jerusalem sysctl kern.version kern.version: FreeBSD 8.0-CURRENT #0: Tue Jan 20 10:40:57 EST 2009 h...@jerusalem.litteratus.org:/usr/obj/usr/src/sys/JERUSALEM h...@jerusalem uname -a 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 Robert huff ___ 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
Re: source of uname information
= 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= BRFreeBSD 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. 3Dmailto:roberth...@rcn.com 2. 3Dmailto:tro...@trober.com; 3. 3Dmailto:questi...@freebsd.org; 4. file://localhost/tmp/3D 5. 3Dhttp://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
Re: source of uname information
On Wed, 21 Jan 2009 08:06:50 -0500 Robert Huff roberth...@rcn.com wrote: Can someone explain this: h...@jerusalem sysctl kern.version kern.version: FreeBSD 8.0-CURRENT #0: Tue Jan 20 10:40:57 EST 2009 h...@jerusalem.litteratus.org:/usr/obj/usr/src/sys/JERUSALEM h...@jerusalem uname -a FreeBSD jerusalem.litteratus.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Do you have any UNAME_* variables set in the environment? ___ 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
Re: source of uname information
Hi! Wow! Good question! Sorry, I had not seen the difference between 7 and 8 in uname and sysctl output. Sorry. What your /usr/obj/usr/src/include/vers.h file say in: SCCSSTR VERSTR RELSTR char ostype char osrelease int osreldate kern_ident Thanks. Trober tro...@trober.com - - - - - - Mensagem Original - De: Robert Huff roberth...@rcn.com Para: Trober tro...@trober.com Data: Quarta, 21 De Janeiro De 2009 10:39 Assunto: Re: source of uname information Trober writes: 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. The question is: Why do the sysctls say one thing, and uname another? Robert Huff ___ 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
Re: source of uname information
Trober writes: What your /usr/obj/usr/src/include/vers.h file say in: No such file. Robert Huff ___ 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