On Sat, 6 Aug 2016, Christos Zoulas wrote:
On Aug 7, 12:29am, k...@munnari.oz.au (Robert Elz) wrote:
-- Subject: Re: "cno" keyword for config(8)
| SOunds like a good idea to me, it bugs me often that my "no xxx" stuff
| in config files keeps failing when someone deletes, or renames, xxx
|
| But
On Sat, Aug 06, 2016 at 01:36:02PM -0400, Christos Zoulas wrote:
> | SOunds like a good idea to me, it bugs me often that my "no xxx" stuff
> | in config files keeps failing when someone deletes, or renames, xxx
> |
> | But an alternative would be to just change "no" so that it doesn't fail
>
On Sun, Aug 07, 2016 at 12:29:46AM +0700, Robert Elz wrote:
>
> But an alternative would be to just change "no" so that it doesn't fail
> when there is nothing to remove (make "no" effectively be "cno") - the
> effect (not having whatever it is) is achieved whether the "no" deletes
> it or whether
On Sat, Aug 06, 2016 at 08:59:07AM -0400, Christos Zoulas wrote:
> I'd like to add "cno" to config (like we have "cinclude" for "include"), to
> handle cases where "no foo" fails if "foo" does not exist. Diff here:
> http://www.netbsd.org/~christos/config-cno.diff
Not entirely attached to the w
Date:Sat, 6 Aug 2016 08:59:07 -0400
From:chris...@zoulas.com (Christos Zoulas)
Message-ID: <20160806125907.849db17f...@rebar.astron.com>
| I'd like to add "cno" to config
|
| Comments?
SOunds like a good idea to me, it bugs me often that my "no xxx" stuff
in co
On Aug 7, 12:29am, k...@munnari.oz.au (Robert Elz) wrote:
-- Subject: Re: "cno" keyword for config(8)
| SOunds like a good idea to me, it bugs me often that my "no xxx" stuff
| in config files keeps failing when someone deletes, or renames, xxx
|
| But an alternative would be to just change "no"
I'd like to add "cno" to config (like we have "cinclude" for "include"), to
handle cases where "no foo" fails if "foo" does not exist. Diff here:
http://www.netbsd.org/~christos/config-cno.diff
Comments?
christos
On Sat, Aug 06, 2016 at 12:56:19AM -0700, John Nemeth wrote:
> It seems that I have three choices: extend sys/tree.h, convert
> uuid_name_lookup.c to use the newer sys/rbtree.h, or redo it
> completely. I was thinking of a small array to cache the items
> being looked up. It is highly unlikely th
I'm thinking of importing uuid_name_lookup() and uuid_addr_lookup()
from DragonflyBSD. These functions look in a file, /etc/uuids and
/etc/defaults/uuids, which contains a table mapping uuids to
descriptive strings. The advantage is that it makes it easy for
various tools to know about new u