Christoph Thiel wrote:
On Mon, 4 Sep 2006, Dominique Leuenberger wrote:
Christoph Thiel
09/04/06 2:04 PM >>> Hi there, I was just thinking for all these SuSEconfig scripts, as the problem is their runtime:
Couldn't we remember the 'las-run' of such a script and only run it if the timestamp of the file in /etc/sysconfig is newer than the 'last-run'? This test is imho quite fast and we could leave most of the scripts. And still remove the one's we don't need anymore.
That's an optimization that should be implemented in any case. I don't think we will need to keep a "last-run" file, but rather compare the mtime of the sysconfig files with the resulting config files to figure out if we need to run SuSEconfig.
Now, when you are working on it, you can use every chance to speed up the process. The question is what is faster to check, one file "last-run" or mtime on few of them. To write/update "last-run" file we have to use time, too, so where is the optimum. -- Regards, Rajko. --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-factory+help@opensuse.org