Gentoo Archives: gentoo-user

From: Pandu Poluan <pandu@××××××.info>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] ZIC, aka setting the time zone.
Date: Tue, 17 Jan 2012 13:08:08
Message-Id: CAA2qdGVkXy9RvxkE9PHkG4+LDO9+wa-JY8S3bo6LJHfdiGxRmQ@mail.gmail.com
In Reply to: Re: [gentoo-user] ZIC, aka setting the time zone. by Hinnerk van Bruinehsen
1 On Tue, Jan 17, 2012 at 19:41, Hinnerk van Bruinehsen
2 <h.v.bruinehsen@×××××××××.de> wrote:
3 >
4 > On 17.01.2012 13:29, Pandu Poluan wrote:
5 >> On Jan 17, 2012 7:20 PM, "Neil Bothwick" <neil@××××××××××.uk>
6 >> wrote:
7 >>>
8 >>> On Tue, 17 Jan 2012 08:13:53 +0100, Hinnerk van Bruinehsen
9 >>> wrote:
10 >>>
11 >>>> Should be done with:
12 >>>>
13 >>>> ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
14 >>>
15 >>> Symlinking is not recommended as it breaks when /usr is on a
16 >>> separate filesystem. The file should be copied instead.
17 >>>
18 >>
19 >> Are you sure you're not confusing that with hardlinking?
20 >>
21 >> Because AFAIK symlinking is the only linking that can cross
22 >> filesystem borders.
23 >>
24 >  Symlinking works (over filesystem borders, too, Pandu is right) and
25 > it even "autoupdates" localtime when (why ever) something in zoneinfo
26 > changes...
27
28 As to the "why" ...
29
30 Just two sample cases: In 2010 (or 2009, I forgot) the USA Federal
31 Govt "redefines" the changeover dates for DST. Also, at the very end
32 of 2011, Samoa changed their timezone from UTC-11 to UTC+13 (+14 in
33 summer) [1][2]
34
35 [1] http://en.wikipedia.org/wiki/International_Date_Line#Samoan_Islands_and_Tokelau
36 [2] http://www.webcitation.org/64jx2ob6X
37
38 Rgds,
39 --
40 FdS Pandu E Poluan
41 ~ IT Optimizer ~
42
43  • LOPSA Member #15248
44  • Blog : http://pepoluan.tumblr.com
45  • Linked-In : http://id.linkedin.com/in/pepoluan