summaryrefslogtreecommitdiffstats
path: root/usr.sbin/config/configvers.h
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-10-22 00:38:48 +0000
committerpeter <peter@FreeBSD.org>1997-10-22 00:38:48 +0000
commitb57d8acf74b602f51f41ffd6ff9bb42c2a452d6d (patch)
tree98addc29764bbad0190dfdb43bec08eb6b67d931 /usr.sbin/config/configvers.h
parentcb0b2ed81cfa3f220e9fd70efabce40aebd3a35f (diff)
downloadFreeBSD-src-b57d8acf74b602f51f41ffd6ff9bb42c2a452d6d.zip
FreeBSD-src-b57d8acf74b602f51f41ffd6ff9bb42c2a452d6d.tar.gz
Recognize a %VERSREQ=nnnnn string in the system Makefile. Both config(8)
and the kernel will have a 'config interface version number'. If an incompatable change is made to the kernel that requires a rebuild of config(8) (such as the cam devtab stuff), then the version number would be bumped in both places. If a user neglects to rebuild config, then they will get a nagging (but non-fatal) warning that they need to rebuild config.
Diffstat (limited to 'usr.sbin/config/configvers.h')
-rw-r--r--usr.sbin/config/configvers.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/usr.sbin/config/configvers.h b/usr.sbin/config/configvers.h
new file mode 100644
index 0000000..8a14166
--- /dev/null
+++ b/usr.sbin/config/configvers.h
@@ -0,0 +1,11 @@
+/*
+ * 6 digits of version. The most significant are branch indicators
+ * (eg: RELENG_2_2 = 22, -current presently = 30 etc). The least
+ * significant digits are incremented for each incompatable change.
+ *
+ * The numbering scheme is inspired by the sys/conf/newvers.sh RELDATE
+ * and <osreldate.h> system.
+ *
+ * $Id$
+ */
+#define CONFIGVERS 300002
OpenPOWER on IntegriCloud