Re: Dynamically defining classes, ordering, hardware detection

2003-01-15 Thread Mate Kosor
On Wed, 15 Jan 2003, Niall Young wrote: Has anyone looked into dynamically defining new classes based on hardware detection routines like kudzu? I don't know if this will help but I get some things from proc filesystem (like does machine have a CD or DVD). I did't found out how to detact

Re: Dynamically defining classes, ordering, hardware detection

2003-01-15 Thread AUSTIN MURPHY
On Wed, 15 Jan 2003, Niall Young wrote: How about overriding other class behaviour with hooks and files, I guess that gets back to the order in which everything is defined and run - e.g. class FOO installs /etc/lilo.conf but if class BAH also has one, how can I guarantee that BAH replaces it

Re: Dynamically defining classes, ordering, hardware detection

2003-01-15 Thread Niall Young
On Wed, 15 Jan 2003, AUSTIN MURPHY wrote: On Wed, 15 Jan 2003, Niall Young wrote: How about overriding other class behaviour with hooks and files, I guess that gets back to the order in which everything is defined and run - e.g. class FOO installs /etc/lilo.conf but if class BAH also

fai/class separation

2003-01-15 Thread Niall Young
I'm new to classes :-) but as an extension to bundling all of a class's components together - what would be the best way to separate the builtin FAI classes from user defined classes? Or is it assumed that the whole FAI_CONFIGDIR/* will be customised completely?!? I'd like to keep my own classes