SCIENTIFIC-LINUX-USERS Archives

March 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Zhi-Wei Lu <[log in to unmask]>
Reply To:
Zhi-Wei Lu <[log in to unmask]>
Date:
Wed, 7 Mar 2007 09:45:06 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (26 lines)
On Mar 7, 2007, at 9:04 AM, Brent L. Bates wrote:

>      I THOUGHT I had taken care of this, now I'm not so sure.  I  
> downloaded
> and installed the lastest tzdata RPM.  `zdump -v' on the appropriate
> /usr/share/zoneinfo file showed the correct information.  I copied the
> zoneinfo file (/usr/share/zoneinfo/America/New_York) to /etc/ 
> localtime and
> thought that should fix everything.  I've just been trying the  
> command:
>
> 	zdump -v localtime

If you do

strace zdump -v localtime

You will see that zdump try to open this file
/usr/share/zoneinfo/localtime and it will fail, therefore it will  
give your some pre-programmed messages.

strace zdump -v /etc/localtime

It will use the /etc/localtime file and it will give you the  
information you are looking for.

ATOM RSS1 RSS2