From owner-freebsd-hackers Mon Jul 31 11:25:38 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 4A06B37B505 for ; Mon, 31 Jul 2000 11:25:34 -0700 (PDT) (envelope-from jhb@pike.osd.bsdi.com) Received: (from jhb@localhost) by pike.osd.bsdi.com (8.9.3/8.9.3) id LAA93732; Mon, 31 Jul 2000 11:25:17 -0700 (PDT) (envelope-from jhb) From: John Baldwin Message-Id: <200007311825.LAA93732@pike.osd.bsdi.com> Subject: Re: kern.osrevision <-> kern.osreldate In-Reply-To: from Paul Herman at "Jul 31, 2000 12:51:41 pm" To: Paul Herman Date: Mon, 31 Jul 2000 11:25:17 -0700 (PDT) Cc: hackers@FreeBSD.org X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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