Subject: Re: CVS commit: src/usr.bin/config
To: Perry E. Metzger <perry@piermont.com>
From: Quentin Garnier <cube@cubidou.net>
List: source-changes
Date: 10/01/2005 08:29:06
--eHhjakXzOLJAF9wJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Sep 30, 2005 at 08:17:43PM -0400, Perry E. Metzger wrote:
>=20
> Quentin Garnier <cube@netbsd.org> writes:
> > Module Name:	src
> > Committed By:	cube
> > Date:		Fri Sep 30 22:36:20 UTC 2005
> >
> > Modified Files:
> > 	src/usr.bin/config: defs.h main.c mkioconf.c pack.c sem.c
> >
> > Log Message:
> > Rework the way orphan device instances are handled.  To achieve that, k=
eep
> > track of instances attaching at root, and walk down the tree of active
> > device instances.  Then, all instances that are not marked active are
> > found as orphans.
>=20
> Could we still complain though? Often what happens is I screw up my
> config file by commenting out a parent that I need, and without the
> warning I'll end up without the child device, not having any idea why
> it won't attach no matter what I do. This could get VERY VERY
> annoying.

Yes, the code still complains.  I'll look for a way to detect explicit
orphans (i.e., produced by a 'no' statement) and then I'll change the
warning into a real error, and remove the warning for explicit orphans.

--=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.

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

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

iQEVAwUBQz4sstgoQloHrPnoAQLPAwf9EUaaqK+mg6yn+HpC8/BzKWxNOESeeCIp
b8nUCFqdXj7FbW+pbtlG2g3eqYAujKL6N1MIadg1ihJytH/6OS+w88NRb8zorldm
JXu9PfrWrAGnCncXoWHu3kDcucvuuPBSx4T5wCtK53wAE+DNu1h9Kmee5b0cmVUv
VfHjx/O/M9S4avu2s/zWYHNREYYFG0EWJRnyejmLmHc6c/Y8UL6TiOdXrNrXkUpv
q5jLyuDWdFAQ+oeJ4w6yKpBvZ2VAlZ5s3r2esj6wvSzlr5yzsWZY2VO70n1M2iZo
b37y1nG5J27DKJ7m0V4cRiVwW9nfO/5ppu1ApiwUvneQezgaiyrofA==
=Gq99
-----END PGP SIGNATURE-----

--eHhjakXzOLJAF9wJ--