Re: Slow dependency calculation
Roy Marples
Wed Nov 11 09:10:39 2009
Matthias Schwarzott wrote:
On Dienstag, 10. November 2009, Ed W wrote:
Roy Marples wrote:
Why the need to add a dependency calc script? Provided that the clock
increases upwards and never backwards, openrc should detect changed
configs and update dependency tree automatically.
Oops, in that case I missed that it writes the dep tree every time and
not just in the shutdown script?
However, will need to double check that on my 0.4 system because it
didn't *seem* to be happening that way - might have just missed
something though
As udev creates its device-nodes in sysinit runlevel, isn't it an improvement
to add hwclock / swclock init-scripts to sysinit runlevel too?
I know this is just an idea, and may collide with hwclock
accessing /etc/adjtime or similar stuff.
This shouldn't be an issue as hwclock will only read at that point.
Besides, using adjtime bites you in the ass badly when you enable ntp :/
I see no issue with adding swclock to the sysinit runlevel.
I expect Ed will update us :)
Thanks
Roy
Archive administrator: postmaster@marples.name