Re: uname question after update

2007-01-15 Thread Kris Kennaway
On Mon, Jan 15, 2007 at 10:37:19AM -0800, Jay Chandler wrote:
 I have two boxes I've updated so far to 6.2.
 
 uname -a returns two different strings:
 
 
 FreeBSD box1.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 
 20:01:29 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 FreeBSD box2.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Sat Jan 13 
 15:40:40 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 
 What does the #0 / #4 mean?

The number of times you have recompiled your kernel.

Kris


pgplfEQ9ZsDJ6.pgp
Description: PGP signature


Re: uname question after update

2007-01-15 Thread Jay Chandler

Kris Kennaway wrote:

On Mon, Jan 15, 2007 at 10:37:19AM -0800, Jay Chandler wrote:
  

I have two boxes I've updated so far to 6.2.

uname -a returns two different strings:


FreeBSD box1.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 
20:01:29 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
FreeBSD box2.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Sat Jan 13 
15:40:40 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386


What does the #0 / #4 mean?



The number of times you have recompiled your kernel.

Kris
  
Thank you, Kris.  *smacks forehead* 


Monday morning indeed...

--
Jay Chandler
Network Administrator, Chapman University
714.628.7249 / [EMAIL PROTECTED]
Today's Excuse: emissions from GSM-phones 


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname question after update

2007-01-15 Thread Chuck Swiger

On Jan 15, 2007, at 10:37 AM, Jay Chandler wrote:
FreeBSD box1.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri  
Jan 12 20:01:29 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/ 
src/sys/SMP  i386
FreeBSD box2.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Sat  
Jan 13 15:40:40 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/ 
sys/SMP  i386


What does the #0 / #4 mean?


The number of times you have rebuilt the kernel.

(This number gets reset when the OS version gets bumped, I believe.)

--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname question after update

2007-01-15 Thread Garrett Cooper

Chuck Swiger wrote:

On Jan 15, 2007, at 10:37 AM, Jay Chandler wrote:
FreeBSD box1.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 
12 20:01:29 PST 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
FreeBSD box2.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Sat Jan 
13 15:40:40 PST 2007 
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386


What does the #0 / #4 mean?


The number of times you have rebuilt the kernel.

(This number gets reset when the OS version gets bumped, I believe.)

---Chuck


Hmm.. that's a new 'feature'. Can that be disabled in any way?
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname question after update

2007-01-15 Thread Kevin Downey

On 1/15/07, Garrett Cooper [EMAIL PROTECTED] wrote:

Chuck Swiger wrote:
 On Jan 15, 2007, at 10:37 AM, Jay Chandler wrote:
 FreeBSD box1.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan
 12 20:01:29 PST 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 FreeBSD box2.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Sat Jan
 13 15:40:40 PST 2007
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

 What does the #0 / #4 mean?

 The number of times you have rebuilt the kernel.

 (This number gets reset when the OS version gets bumped, I believe.)

 ---Chuck

Hmm.. that's a new 'feature'. Can that be disabled in any way?
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


It is not new.

--
The biggest problem with communication is the illusion that it has occurred.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname question after update

2007-01-15 Thread Maxim
On Monday 15 January 2007 21:37, Jay Chandler wrote:
 I have two boxes I've updated so far to 6.2.

 uname -a returns two different strings:


 FreeBSD box1.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12
 20:01:29 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386
 FreeBSD box2.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Sat Jan 13
 15:40:40 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386

 What does the #0 / #4 mean?

how many times kernel 'SMP' was compiled on this box.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname question after update

2007-01-15 Thread Jonathan Chen
On Mon, Jan 15, 2007 at 11:43:52AM -0800, Garrett Cooper wrote:

[...]
 Hmm.. that's a new 'feature'. Can that be disabled in any way?
 -Garrett

That's not new, it's been around for more than a decade. You can
`disable' it by cleaning out the kernel build directory prior to
building a new kernel.
-- 
Jonathan Chen [EMAIL PROTECTED]
--
 When you don't know what you are doing, do it neatly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname question after update

2007-01-15 Thread Chuck Swiger

On Jan 15, 2007, at 11:43 AM, Garrett Cooper wrote:

The number of times you have rebuilt the kernel.

(This number gets reset when the OS version gets bumped, I believe.)

---Chuck


Hmm.. that's a new 'feature'. Can that be disabled in any way?


This feature, whatever you might think of it, isn't new.  :-)

But yes, it could be disabled; see /usr/src/sys/conf/newvers.sh and  
the number kept in /usr/obj/usr/src/include/version.  Delete /usr/obj/ 
usr/src/include/version between kernel recompiles and you will always  
get a version # of 0.


--
-Chuck

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname question after update

2007-01-15 Thread Garrett Cooper

Jonathan Chen wrote:

On Mon, Jan 15, 2007 at 11:43:52AM -0800, Garrett Cooper wrote:

[...]
  

Hmm.. that's a new 'feature'. Can that be disabled in any way?
-Garrett



That's not new, it's been around for more than a decade. You can
`disable' it by cleaning out the kernel build directory prior to
building a new kernel.
  
Oh, duh. I didn't realize that that occurred every time I cleaned up 
prior to a kernel compile .

Thanks!
-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname question after update

2007-01-15 Thread Alexander Mogilny


On 15 янв. 2007, at 21:43, Garrett Cooper wrote:


Chuck Swiger wrote:

On Jan 15, 2007, at 10:37 AM, Jay Chandler wrote:
FreeBSD box1.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri  
Jan 12 20:01:29 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/ 
src/sys/SMP  i386
FreeBSD box2.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #4: Sat  
Jan 13 15:40:40 PST 2007 [EMAIL PROTECTED]:/usr/obj/usr/ 
src/sys/SMP  i386


What does the #0 / #4 mean?


The number of times you have rebuilt the kernel.

(This number gets reset when the OS version gets bumped, I believe.)

---Chuck


Hmm.. that's a new 'feature'. Can that be disabled in any way?


This is not a 'new' feature. This was so for very long time. You can  
also reset the

number by cleaning out /usr/obj directory.

Version file vers.c is generated by src/sys/conf/newvers.sh script.

You can hack this script for it not to increase kernel number.

--
AIM-UANIC | AIM-RIPE  +-[ FreeBSD ]-+
Alexander Mogilny | The Power to Serve! |
 [EMAIL PROTECTED]   +-+



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: uname question after update

2007-01-15 Thread Garrett Cooper

Chuck Swiger wrote:

On Jan 15, 2007, at 11:43 AM, Garrett Cooper wrote:

The number of times you have rebuilt the kernel.

(This number gets reset when the OS version gets bumped, I believe.)

---Chuck


Hmm.. that's a new 'feature'. Can that be disabled in any way?


This feature, whatever you might think of it, isn't new.  :-)

But yes, it could be disabled; see /usr/src/sys/conf/newvers.sh and 
the number kept in /usr/obj/usr/src/include/version.  Delete 
/usr/obj/usr/src/include/version between kernel recompiles and you 
will always get a version # of 0.


---Chuck

Oh, wait. I thought that the 2 version strings were concatenated, but 
after looking at the original post the guy noted that uname -a was 
invoked on 2 different machines. Duh.

-Garrett
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]