[blfs-support] Questions on (b)lfs-bootscripts-20120127

Nathan Coulson conathan at gmail.com
Mon Feb 13 02:14:33 PST 2012

On Sat, Feb 4, 2012 at 5:42 PM,  <alupu at verizon.net> wrote:
>  >>>> Alex:>>>> 4. How is the 'setclock' script run on "stop" (reboot, poweroff, etc.)?
>>>>> There used to be a 'K46setclock' in 'rc6.d' (i.e. level 6):
>>>>> "Setting hardware clock..."
>>>>> hwclock --systohc ...
>>>> Bruce:
>>>> Yes, I remember that. It should have been in an old version of the LFS
>>>> Makefile for the boot scripts, but I went back 8 years and couldn't find it.
>>> Alex:
>>> So the bottom line is 'setclock' no longer stops nowadays,
>>> i.e., we'll forever miss the thrill of seeing
>>> the current script code section,
>>> stop)
>>> "Setting hardware clock..."
>>> hwclock --systohc ...
>>> in action.
>> Bruce:
>> Your distro, your rules. Put it back.
> Ain't it a shame for this beautiful code, part of this distro of ours, LFS,
> to go to waste?
> -- Alex

The reason it was disabled, was that we believed that one clock source
did a better job of keeping accurate time, then switching between 2
(system, and the hardware clock).

We actually use this code in BLFS, under
http://www.linuxfromscratch.org/blfs/view/svn/basicnet/ntp.html as we
consider ntpd an accurate source.

Nathan Coulson (conathan)
Location: British Columbia, Canada
Timezone: PST (-8)
Webpage: http://www.nathancoulson.com

More information about the blfs-support mailing list