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