Date: Sun, 25 Apr 1999 03:08:59 +0800 From: Peter Wemm <peter@netplex.com.au> To: current@freebsd.org Subject: Heads up! config(8) changes.. Message-ID: <19990424190901.D3A791F58@spinner.netplex.com.au>
next in thread | raw e-mail | index | archive | help
This shouldn't cause much in the way of trouble, but it will complain
about old lint in your config files. That includes 'net/tty/bio/cam'
mask indicators, and 'vector xxxintr' as well as some of the wierder
workarounds for the poor 'options' parsing.
So: things like:
device sio1 at isa? tty port "IO_COM2" tty irq 3
become:
device sio1 at isa? port IO_COM2 irq3
options "VM86" -> options VM86
options "_KPOSIX_FOO=12345L" -> options _KPOSIX_FOO=12345L
etc.
These are warnings about things that have been silently ignored for a while,
or I've just (hopefully) fixed. However, I don't know lex/yacc too well,
so I could well have stuffed something up. If there isn't too much trouble
(ha ha! I should know better than to touch config), I'll commit a set
of cleaned up GENERIC / LINT files.
You do not need to build a new config(8), the version numbers have not been
bumped (and don't need to).
Cheers,
-Peter
------- Forwarded Message
peter 1999/04/24 11:59:20 PDT
Modified files:
usr.sbin/config config.h config.y lang.l main.c
mkioconf.c mkmakefile.c mkoptions.c
mkswapconf.c
Log:
More cleanups, tweaks and features.
- make this work: options FOO123=456 *without quotes*
- grumble (but accept) vector xxxintr, and tty/net/bio/cam flags.
- complain if a device is specified twice (eg: 2 x psm0)
- don't require quotes around: port IO_COM2
- recognize negative numbers. (ie: options CAM_DEBUG_UNIT=-1)
- GC some more unused stuff (we don't have composite disks from config(8)).
- various other nits (snprintf paranoia etc)
Revision Changes Path
1.24 +2 -12 src/usr.sbin/config/config.h
1.30 +58 -181 src/usr.sbin/config/config.y
1.19 +7 -7 src/usr.sbin/config/lang.l
1.32 +2 -2 src/usr.sbin/config/main.c
1.54 +4 -4 src/usr.sbin/config/mkioconf.c
1.41 +4 -4 src/usr.sbin/config/mkmakefile.c
1.11 +2 -2 src/usr.sbin/config/mkoptions.c
1.19 +6 -6 src/usr.sbin/config/mkswapconf.c
------- End of Forwarded Message
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990424190901.D3A791F58>
