Paul Herman wrote:
> Hi,
> 
> I've been meaning to ask this ever since I started using 2.2.2
> years ago:  Why are these two sysctl variables mixed up?
> 
> bash-2.03$ sysctl kern.osrevision kern.osreldate
> kern.osrevision: 199506

My guess is that this sysctl is the version used by CSRG in 4.4 BSD, which
is date based.

> kern.osreldate: 410000

This is the FreeBSD-specific version number.  We don't use date-based
versions because they don't work well with our -current/-stable branch
system.

> Is this really an oversight that's existed for more than 3 years?

Probably a backwards-compatability thing.

> If this were to be fixed, would it break anything?

Maybe?  The thing is, if my guesses are right, kern.osrevision is only
maintained for backwards compatability, and should probably either be
killed or left alone.

> -Paul.

-- 

John Baldwin <[EMAIL PROTECTED]> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.cslab.vt.edu/~jobaldwi/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to