Subject: small config(1) change and additions
To: None <current-users@netbsd.org>
From: Quentin Garnier <cube@cubidou.net>
List: current-users
Date: 10/01/2005 01:06:17
--mojUlQ0s9EVzWg2t
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi folks,

I've just committed a change to config(1) that might have side effects
on your configuration files if you use tricks that were previously
allowed by config(1) (whether you're aware of it).  Orphaned devices
are now ignored (though config(1) still warns), which means the kernel
will compile as if the device instance were never mentioned.  This
might lead to surprises when booting the kernel, although previous
behaviour of config(1) lead to obscure linking errors.  So watch for
orphans.

However, referencing by number (in an attachment) a device that doesn't
have a matching instance but has a starred instance won't be considered
orphaning anymore.

As for the other commit, it adds two statements to the grammar:

   no device at <attachment>
   no <device>

Please see the commit log for details on how to use it.

As always, if you have any trouble with those new features, fill a PR.
I plan to add regression tests for config(1) at some point, and maybe
someday I'll have time to write a man page describing the syntax...

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--mojUlQ0s9EVzWg2t
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQz3E6dgoQloHrPnoAQLtGwgAmCnsMDWvS0qrHx31rvwu4BPSqFN+JPUi
CWBb41Z3E0LRKwlgeA7zn1DkTs9VfMLvNJGQvGBMRruwasWYDzTCqv+5Fi7uOfBG
NBgdFD5tLAqsMqkuQoeeGvPgqAdvtCO+AuhfL9NPw99vFfd21Qsk1wroS/vlo8XG
sWyc3YFjKDpPKaGfMs6WYqwVg21eztbyIdJRjgEU/dRKo4I4y+v+BA4tXoOCB+oV
6WDw7La61fly8KFLE9LV8eY8BAg0bfIsbv9288IvSckzhugNztKO5pKAkcwVymUs
eeYb34bJ+9tT6ZUMYVbdPkloE6uhuiDGJzpFLIZmoevtSHNfp6WVxw==
=yEQ/
-----END PGP SIGNATURE-----

--mojUlQ0s9EVzWg2t--