On Monday 21 August 2006 12:07, Christian Boltz wrote: > Generating config files every time *dm is started is a bad > idea IMHO. Reason: It is done _at every boot_ instead of > "sometimes" after installing packages or alike. So you > will speedup SuSEconfig, but slow down booting a bit :-(
By using a suitable dependency-based system to invoke the file's regeneration (such as GNU make), or trivially by comparing timestamps (easy for simple cases, but make would help for anything non-trivial), it should be possible to render this slowdown almost non-existent, by only regenerating the file when it is necessary to do so (i.e. when the generated config file(s) is/are out-of-date with respect to the /etc/sysconfig "parent" file(s)). > Is there an easy way to make *dm (or the initscript) read > the sysconfig file directly (without reducing speed) and > then starting X with some parameters instead a config > file? This would be the best solution. I may be wrong, but I belive that the _next_ version of Xorg will support this config-file-free parameterised mode of startup. I'm not in favour of any modification to xdm to support reading alternative config file formats, since that adds more of a maintenance headache than it solves. It's important to keep the sysconfig stuff separate from the upstream sources. Propagating sysconfig variables in to the native config file format of the target software as SuSEconfig does allows SuSE's config methodology not to have an impact on the target software, but to be kept separate, which is a good thing. Switching to an "on-demand" SuSEconfig approach, whereby files are regenerated just-in-time when necessary, would seem to be a positive step. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
