Date: Mon, 31 Jul 2000 11:25:17 -0700 (PDT) From: John Baldwin <jhb@pike.osd.bsdi.com> To: Paul Herman <pherman@frenchfries.net> Cc: hackers@FreeBSD.org Subject: Re: kern.osrevision <-> kern.osreldate Message-ID: <200007311825.LAA93732@pike.osd.bsdi.com> In-Reply-To: <Pine.BSF.4.21.0007311230590.266-100000@bagabeedaboo.security.at12.de> from Paul Herman at "Jul 31, 2000 12:51:41 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
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 <jhb@bsdi.com> -- 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 majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200007311825.LAA93732>