Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93085 - guide-localisation.xml: Use "hardware clock" instead of "system clock"
Summary: guide-localisation.xml: Use "hardware clock" instead of "system clock"
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Localisation Guide (show other bugs)
Hardware: All All
: Low trivial (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/guide-lo...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-18 10:28 UTC by Jan Kundrát (RETIRED)
Modified: 2005-06-10 11:46 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Kundrát (RETIRED) gentoo-dev 2005-05-18 10:28:10 UTC
In the paragraph which talks about keeping the "system" time in either local timezone or in UTC should be mentioned *hardware* time.

Look at /etc/init.d/clock:
...
ebegin "Setting system clock to hardware clock ${TBLURB}"
...
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2005-05-18 12:37:33 UTC
Err, sorry for grouping unrelated topics together, but GMT means Greenwich Mean 
Time, not Greenwhich :-). 
 
That guide and its coding style needs review, IMHO. Volunteers? 
Comment 2 Jan Kundrát (RETIRED) gentoo-dev 2005-05-18 12:38:50 UTC
...and "Gnu" should be "GNU". 
Comment 3 Shyam Mani (RETIRED) gentoo-dev 2005-05-18 19:39:27 UTC
Is this doc "live" yet? If so where's the URL?
Comment 4 Flammie Pirinen (RETIRED) gentoo-dev 2005-05-18 20:15:26 UTC
http://www.gentoo.org/doc/en/guide-localization.xml I suppose?
Comment 5 Shyam Mani (RETIRED) gentoo-dev 2005-06-07 01:52:16 UTC
(In reply to comment #0)
> In the paragraph which talks about keeping the "system" time in either local
timezone or in UTC should be mentioned *hardware* time.
> 
> Look at /etc/init.d/clock:
> ...
> ebegin "Setting system clock to hardware clock ${TBLURB}"
> ...

Yeah, so that means the system clock is being set *from* the hardware clock, or
am I missing your point entirely?
Comment 6 Jan Kundrát (RETIRED) gentoo-dev 2005-06-07 03:38:48 UTC
(In reply to comment #5) 
> Yeah, so that means the system clock is being set *from* the hardware clock, 
or 
> am I missing your point entirely? 
>  
 
Yep, you're correct. Guide currently says: 
 
"In most Gentoo Linux installations, your system clock is set to UTC (or GMT, 
Greenwich Mean Time) and then your timezone is taken into account to determine 
the actual, local time. If, for some reason, you need your system clock not to 
be in UTC, you will need to edit /etc/rc.conf and change the value of CLOCK." 
 
But "system clock" is a timestamp kept by kernel while "hardware clock" is time 
stored in RTC (chip on x86-based motherboards, not sure about other arches). 
During the boot process, some init script will call a program which will set 
kernel time to the time reported by the RTC. 
Comment 7 Sven Vermeulen (RETIRED) gentoo-dev 2005-06-10 11:46:06 UTC
Fixed in CVS. Thanks!