On Monday, 9 בOctober 2006 13:49, Amos Shapira wrote:
> On 09/10/06, Ehud Karni <[EMAIL PROTECTED]> wrote:
> > Just a very minor correction, the zoneinfo file is not copied,
> > it is symlinked, to /etc/localtime.
> It probably depends on the distro, on Debian Etch it's a regular file, not a
> symlink.

Also on my Fedora (Core-5).

> I guess that the logic is that /usr might not be still available when the
> zoneinfo is already required (e.g. when /usr is NFS-mounted).

And single user of course...

It used to be the common practice to symlink /etc/localtime,
but due to these problems some distros started to make a copy.

If tzdata is packaged separately from glibc, than upgrades does
not pose any problem at all (nothing should be updated unless
you change your timezoen).

These distros provide of course a high level scripts/tools
to handle this for their users:
  * In RedHat/Fedora: the old timeconfig or the newer system-config-date
  * In Slackware it's still timeconfig.

I stumbled upon an interesting script:
http://slackware.osuosl.org/slackware_source/l/glibc/doinst.sh-glibc-zoneinfo

-- 
Oron Peled                             Voice/Fax: +972-4-8228492
[EMAIL PROTECTED]                  http://www.actcom.co.il/~oron
ICQ UIN: 16527398

"write your own operating system.  It has worked every time for me"
           -- Linus Thorvalds

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to