setting system clock
Alexander E. Patrakov
patrakov at gmail.com
Fri Nov 9 10:31:51 MST 2007
Hello,
I have two questions about the setclock script.
1) It sets CLOCKPARAMS to the empty string _after_ sourcing the
/etc/sysconfig/clock configuration file, and then appends either --utc
or --localtime there. Is this a thinko? Did you mean to set CLOCKPARAMS
to the empty string _before_ sourcing the configuration file, so that a
user might place, e.g., CLOCKPARAMS="--directisa" or
CLOCKPARAMS="--rtc=/dev/rtc0" there?
2) With the hardware clock in UTC, the bootscript executes "hwclock
--hctosys --utc", however, "strace -e open hwclock --hctosys --utc"
indicates that the /usr/share/zoneinfo/Universal file is also being
opened. However, the setclock script runs before mounting /usr. Is this
a problem? (with --localtime, it doesn't open any files from /usr).
--
Alexander E. Patrakov
Please remove patrakov at ums.usu.ru from your address books - this address
will become invalid soon, after I quit my job at USU.
More information about the lfs-dev
mailing list