Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Jan 2003 21:55:21 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Garance A Drosihn <drosih@rpi.edu>
Cc:        Sheldon Hearn <sheldonh@starjuice.net>, current@FreeBSD.ORG
Subject:   Re: Seat-belt for source upgrades from stable to current
Message-ID:  <20030130055521.GA47408@troutmask.apl.washington.edu>
In-Reply-To: <p05200f36ba5e6b390ae9@[128.113.24.47]>
References:  <20030129191822.GO78848@starjuice.net> <p05200f31ba5e4c0bbc26@[128.113.24.47]> <20030130040542.GA46905@troutmask.apl.washington.edu> <p05200f33ba5e581a8f86@[128.113.24.47]> <20030130045957.GA47151@troutmask.apl.washington.edu> <p05200f36ba5e6b390ae9@[128.113.24.47]>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 30, 2003 at 12:47:13AM -0500, Garance A Drosihn wrote:
> At 8:59 PM -0800 1/29/03, Steve Kargl wrote:
> >
> >You don't need a special file to indicate what version of
> >FreeBSD you have.  uname -r tells you.
> >
> 
> Actually, one thing I don't know is how this would work when it
> comes to RELENG_4 vs RELENG_4_0 (since I don't run RELENG_4_0).
> What does uname show for the security branches?  Just wondering.
> The uname idea is fine with me, if someone wants to implement it
> that way.
> 

I don't run 4.x, so I do know. ;-)

I suspect on a 4.x system, you'll get "4.x-AAAA" 
where AAAA is either FreeBSD or STABLE. To distinguish
between 4.x and 5.x, all we need the first character.

In actuality, if you build a 5.0 world on a 4.x system,
I think ${OBJDIR}/usr.bin/uname/uname will die with an
error when the shared libraries aren't found.

-- 
Steve

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




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