[Debburn-devel] Rewritten config parser
Albert Chin
debburn-devel at mlists.thewrittenword.com
Wed Sep 20 15:24:51 UTC 2006
On Wed, Sep 20, 2006 at 11:17:48AM -0400, Albert Cahalan wrote:
> On 9/19/06, Albert Chin <debburn-devel at mlists.thewrittenword.com> wrote:
> >On Sat, Sep 09, 2006 at 10:54:31PM +0200, Eduard Bloch wrote:
> >> #define CFGPATH "/etc/default/wodim"
> >
> >How about honoring --sysconfdir here (or whatever the cmake equivalent
> >is)?
>
> How about just fixing the default?
>
> The standard seems to be:
>
> /etc/wodimrc
> /etc/wodim.d/*
>
> You could do like X11 does:
>
> /etc/wodim/burners.conf
> /etc/wodim/rscsi.conf
> /etc/wodim/allow.conf
> /etc/wodim/deny.conf
> /etc/wodim/system.conf
As long as the user can specify an alternate location at build time
and the .c file honors the new location.
--
albert chin (china at thewrittenword.com)
More information about the Debburn-devel
mailing list