Re: clock setting at bootup
According to man hwclock in 7.1 -s means hctosys, so it is not just an abbreviation, but just an option left over for compatibility reasons.
Thanks for that info, Ole. I take it your hwclock man page is newer/different from mine in SuSE6.3, which is dated: 02 March 1998? It would be nice if they had been updated since then. And hctosys certainly makes sense; I'm tempted to change my boot script to use the long form of the option, just for clarity, although I hate messing with supplied scripts in general. Still, it seems wrong to adjust the hwclock after using it to set the system clock; as my hwclock man page says: ``It is good to do a hwclock --adjust just before the hwclock --hctosys at system startup time, and maybe periodically while the system is running via cron.'' Maybe while I'm changing my boot script, I'll make it do things in that order. Cheers, Jim
On Mon, 16 Apr 2001, Jim Osborn wrote:
According to man hwclock in 7.1 -s means hctosys, so it is not just an abbreviation, but just an option left over for compatibility reasons.
Thanks for that info, Ole.
I take it your hwclock man page is newer/different from mine in SuSE6.3, which is dated: 02 March 1998? It would be nice if they had been updated since then.
I actually think we have the same page. At least, mine is also dated 02 March 1998. I think the difference is how we read it. The top of the man-page says: -------------------- HWCLOCK(8) HWCLOCK(8) NAME hwclock - query and set the hardware clock (RTC) SYNOPSIS hwclock -r or hwclock --show hwclock -w or hwclock --systohc hwclock -s or hwclock --hctosys hwclock -a or hwclock --adjust hwclock -v or hwclock --version -------------------- These lines might just mean that those options cannot be used together, but they might also mean that the 2 options shown on each line is equivalent. Regards Ole
participants (2)
-
Jim Osborn
-
Ole Kofoed Hansen