Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Dec 2012 17:44:30 -0500
From:      Benjamin Kaduk <bjkfbsd@gmail.com>
To:        d@delphij.net
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, bjk@freebsd.org, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>
Subject:   Re: svn commit: r244198 - in head: etc/rc.d sbin/sysctl
Message-ID:  <CAJ5_RoDmE2ZRnninitP6C4ShP8kPYj-Bq9y09S=Sdu8LaYutkQ@mail.gmail.com>
In-Reply-To: <50D2419B.20906@delphij.net>
References:  <201212132332.qBDNWmK4037503@svn.freebsd.org> <50D1D720.80206@FreeBSD.org> <1355931456.1198.203.camel@revolution.hippie.lan> <05CC5BAD-B968-4A7A-8097-A3344D970D63@mu.org> <1355932607.1198.206.camel@revolution.hippie.lan> <F158CD10-B65B-4BBA-BCAD-6A52BC5C8FDF@mu.org> <50D2128A.7030205@delphij.net> <20121219210418.GA83983@stack.nl> <CAGH67wRTdBCZLq1R8-yqD6EBZ%2B=F228-0o_8TvU3b0KZD6vUfg@mail.gmail.com> <CAGH67wT1L_9ia7-hdHST6q8iCdtmFifZcHixCQhBTiZEH8YAcw@mail.gmail.com> <50D23961.7090803@delphij.net> <CAJ5_RoACh-Qe7zxoBnJngB3kO4VW0x1yD9PDp8uuafwcnNAPHw@mail.gmail.com> <50D2419B.20906@delphij.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Dec 19, 2012 at 5:37 PM, Xin Li <delphij@delphij.net> wrote:

> > Not a direct reply, but just noting that it can be *very* useful
> > to have, e.g., a README or foo.old or foo.disabled file in the same
> > directory where the "live" configuration files live.  Always
> > interpreting the full '*' glob is not always the best thing to do.
>
> This is not an Unix utility should solve.  To quote Terry Lambert: "If
> you aim the gun at your foot and pull the trigger, it's UNIX's job to
> ensure reliable delivery of the bullet to where you aimed the gun (in
> this case, Mr. Foot)."  In other words, sysctl -f README should
> interpret README as input, not a file that contains user consumable text.
>

Certainly.
I was thinking about the proposal akin to 'cat /etc/sysctl.d/* | sysctl -f
-' and similar proposals bandied about.

I would prefer to not see an unanchored glob used in such a case.

-Ben Kaduk



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ5_RoDmE2ZRnninitP6C4ShP8kPYj-Bq9y09S=Sdu8LaYutkQ>