devfs
[Top] [All Lists]

Re: [Fwd: [Cooker] modules.devfsd addition]

To: Russell Coker <russell@xxxxxxxxxxxx>
Subject: Re: [Fwd: [Cooker] modules.devfsd addition]
From: Richard Gooch <rgooch@xxxxxxxxxxxxxxx>
Date: Mon, 28 Jan 2002 23:26:24 -0700
Cc: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>, "'Thierry Vignaud'" <tvignaud@xxxxxxxxxxxxxxxx>, "'devfs mailing list'" <devfs@xxxxxxxxxxx>, Keith Owens <kaos@xxxxxxxxxx>
In-reply-to: <20020128063848.E0A5132FE0A@xxxxxxxxxxxxxxxxx>
References: <000001c1a7c3$50d2fb30$21c9ca95@xxxxxxxxxxxxxx> <20020128063848.E0A5132FE0A@xxxxxxxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
Russell Coker writes:
> On Mon, 28 Jan 2002 17:16, Borsenkow Andrej wrote:
> > I too think that implementing per-package addition would be really nice.
> > But I am strongly against editing single monolithic configuration file.
> > If we ever have per-package config - please, implement support for
> > /etc/devfsd.d directory where packages can drop config files as needed.
> 
> Devfsd already has support for that.  If an OPTIONAL_INCLUDE or
> INCLUDE line references a directory then all files in that directory
> will be included.  This is used in the default setup for Debian to
> include files in the directory /etc/devfs/conf.d/ .
> 
> As for modules, this is done in Debian by having a script named
> update-modules which produces a file /etc/modules.conf from files in
> the directory /etc/modutils/ .

So do you think that the modules.devfs file that I ship is useless?
You'd rather see that each package is responsible for their respective
parts?

While that may have some benefits, it requires that all packages
install configuration files for devfsd. Some package maintainers may
have no interest in devfs. By shipping modules.devfs with devfsd, I
can increase the chance of things actually working.

I must say I dislike the script idea you have in Debian. I think it's
much cleaner for modutils to take care of this. If you specify a
directory for the "include" directive, it should recursively process
all files in that directory.

Keith?

                                Regards,

                                        Richard....
Permanent: rgooch@xxxxxxxxxxxxx
Current:   rgooch@xxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>