FAI update scripts?

Matthew Palmer mjp16 at ieee.uow.edu.au
Thu Aug 9 10:58:57 CEST 2001


On Wed, 25 Jul 2001, Thomas Lange wrote:

>     > Perhaps a new part could be added to the system - class files in
>     > .../files, which list the files which should be copied for a
>     > given class.  They can then be stored in .../files as they are
>     > currently - and the copying can probably be done using fcopy as
>     > it is currently.
> 
> The real cool feature of classes are, that the corresponding file is
> used, when it exists. So you have only to create the file. But your
> proposal means, that you have more files to edit, before a class uses
> its files. I think a good desoign of your classes and maybe cfegine
> can help avoiding this problem.

Perhaps you misunderstood.  What I want to do is have class files in
.../files, with filenames equal to the class they represent, that list the
system files which should be copied for that class.  This would be analogous
to the current system of writing

fcopy /etc/file
fcopy /etc/file2

in setup scripts.  Instead, you place

/etc/file
/etc/file2

in a file named .../files/CLASS, and the system will do the fcopy for each
file listed in .../files/CLASS.  It saves putting fcopy everywhere in the
scripts.


-- 
-----------------------------------------------------------------------
#include <disclaimer.h>
Matthew Palmer
mjp16 at ieee.uow.edu.au



More information about the linux-fai mailing list