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 [EMAIL PROTECTED] with "unsubscribe freebsd-current" in the body of the message