I may not be understanding the problem... But the way I get the timezone to
be what I want it to be is to update /etc/sysconfig/clock with the -u and
the "US/Pacific".   Then /etc/init.d/boot.clock takes care of it at IPL
time.




Marcy Cortes

This message may contain confidential and/or privileged information.  If you
are not the addressee or authorized to receive this for the addressee, you
must not use, copy, disclose, or take any action based on this message or
any information herein.  If you have received this message in error, please
advise the sender immediately by reply e-mail and delete this message.
Thank you for your cooperation."

-----Original Message-----
From: Linux on 390 Port [mailto:[EMAIL PROTECTED] On Behalf Of Rick
Troth
Sent: Wednesday, October 26, 2005 09:55
To: [email protected]
Subject: Re: [LINUX-390] Generating and fstab from list of mounted file
systems

On Wed, 26 Oct 2005, James Melin wrote:
 ...
> Makes sense as they're trying to be created as cross device hard links.
> What I don't understand is this:

Dunno how SLES is creating your /etc/localtime.
You can fudge-around the separate physical filesystems "problem":

        ln /usr/share/zoneinfo/US/Central /usr/share/zoneinfo/MYTIME
        mv /usr/share/zoneinfo/MYTIME /etc/localtime

That way,  if /etc and /usr are on the same volume,
the files are hard links to the same physical file.
But if they are on separate volumes,  the intermediate hard link
(MYTIME)  gets moved to /etc and "localtime" becomes a copy.
Maybe SuSE does something like this;  maybe they do something else.

Personally,  I always make it a sym-link:

        ln -sf ../usr/share/zoneinfo/US/Central /etc/localtime

This way,  when you list /etc/localtime,  you see where it points
and you get additional info,  like what timezone is really intended.
Prior to /usr being mounted  (if it is separate)  your  'time'  output
reports as UTC.   This is not usually a problem because files in Unix
(and Linux, all POSIX)  are stamped in UTC under the covers.

-- R;

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or
visit
http://www.marist.edu/htbin/wlvindex?LINUX-390


----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to