[Pkg-sysvinit-devel] What's up with hwclock?

Thomas Hood jdthood at yahoo.co.uk
Mon Jan 23 08:38:07 UTC 2006


Henrique de Moraes Holschuh wrote:
> Step 1: Get util-linux to run the first hwclock script at the absolutely
>    earliest possible moment (which is as soon as /dev is available. I think
>    S05 is about right).


OK


>    The second script doesn't matter to us, but it
>    should be run after /etc is writeable because it will be only useful for
>    doing /etc/adjtime things.


We don't want to use /etc for storing data.  The data should go in /var/lib,
which means that the second script should run at S47.


> Step 2: Get glibc to manage /etc/localtime as a copy (or hardlink, when
>    possible) of the timezone file, and not a symbolic link to it.   Thus,
>    timezone information will be available during the entire part of the boot
>    sequence we deal with (i.e. after / is mounted).  initrd people
>    might want to copy that file too.


You mean it would be a hardlink if /usr/share is on the root filesystem and
a copy otherwise?

-- 
Thomas



More information about the Pkg-sysvinit-devel mailing list