How come there is two init scripts to deal with the hardware clock at boot up?

Tobias Hunger tobias at aquazul.com
Mon Jan 30 08:47:00 GMT 2006


On Sunday 29 January 2006 22:57, martin f krafft wrote:
> Have you read the comments in the file? Hint: it's related to
> timezone settings, which are only available after /usr is mounted,
> but the clock is still initialised very early on for logging
> purposes.

S18 is not that early in the boot process.

In fact only one script (S20checkroot.sh) is run between the two hwclock 
scripts. Checkroot.sh does not produce any output (in the non-verbose case), 
so the impression to the user is that both clock setup scripts are run right 
after each other.

Finally your argument does not hold, since S20checkrootfs.sh does *not* 
mount /usr. This only happens in S35mountall. Is hwclock run way too early?

Regards,
Tobias
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20060130/82d5f288/attachment-0001.pgp


More information about the ubuntu-devel mailing list