NetBSD/usr.bin/config
cube 437f8925a6 Introduce versioning to config(1). This will allow us to provide a way to
error out in a bit more friendly way when the user is trying to use
config(1) on a too old or too recent source tree.

To achieve that, introduce the "version NUMBER" statement which can be use
about anywhere in the config files.  Also, use two defines, CONFIG_VERSION
(which is the actual version of binary), and CONFIG_MINVERSION, which is
the minimum version the binary supports.

Allowing a range of versions serves several purposes:  first it allows me
to introduce the versioning without requiring it to be used right away in
the kernel tree, which means it will be possible to introduce new features
of config(1) rather progressively in the future.  E.g., using 'no pci' in
a config file could only require the new version in that config file, so
that the rest remains compatible.

In the end, an actual bump of the main config system (i.e., in conf/files)
will only be required when e.g., ioconf.c semantics change.

(Mostly-)silently accepted on tech-kern.  Error messages turned into
correct and meaningful English thanks to Tracy and Perry.
2005-10-12 01:17:43 +00:00
..
Makefile Remove bogus BINDIR assignment. 2005-06-06 06:12:09 +00:00
Makefile.boot
config.1
defs.h Introduce versioning to config(1). This will allow us to provide a way to 2005-10-12 01:17:43 +00:00
files.c
gram.y Introduce versioning to config(1). This will allow us to provide a way to 2005-10-12 01:17:43 +00:00
hash.c
main.c Stop walking the tree when two conditions are met: we've seen the device 2005-10-04 23:00:34 +00:00
mkdevsw.c allow configuration without swap. 2005-07-30 06:40:30 +00:00
mkheaders.c in locators.h, also emit definitions about the number of locators per 2005-08-25 15:02:18 +00:00
mkioconf.c o Keep track of negated devices in deaddevitab 2005-10-01 23:30:37 +00:00
mkmakefile.c
mkswap.c
pack.c o Keep track of negated devices in deaddevitab 2005-10-01 23:30:37 +00:00
scan.l Introduce versioning to config(1). This will allow us to provide a way to 2005-10-12 01:17:43 +00:00
sem.c Introduce versioning to config(1). This will allow us to provide a way to 2005-10-12 01:17:43 +00:00
sem.h Introduce versioning to config(1). This will allow us to provide a way to 2005-10-12 01:17:43 +00:00
strerror.c
util.c - Keep track of the file in which we find the device instance 2005-10-04 12:35:00 +00:00