devfs
[Top] [All Lists]

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

To: Borsenkow Andrej <Andrej.Borsenkow@xxxxxxxxxxxxxx>
Subject: Re: [Fwd: [Cooker] modules.devfsd addition]
From: Russell Coker <russell@xxxxxxxxxxxx>
Date: Mon, 28 Jan 2002 17:38:48 +1100
Cc: "'Thierry Vignaud'" <tvignaud@xxxxxxxxxxxxxxxx>, "'devfs mailing list'" <devfs@xxxxxxxxxxx>
In-reply-to: <000001c1a7c3$50d2fb30$21c9ca95@mow.siemens.ru>
References: <000001c1a7c3$50d2fb30$21c9ca95@mow.siemens.ru>
Reply-to: Russell Coker <russell@xxxxxxxxxxxx>
Sender: owner-devfs@xxxxxxxxxxx
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/ .

For Debian these problems have all been solved, if other distributions copy 
the Debian solutions then I think everyone will gain...

-- 
http://www.coker.com.au/bonnie++/     Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/       Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/     My home page

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