Fixing DST manually on rel4 & rel5

Ted Mittelstaedt tedm at toybox.placo.com
Fri Mar 16 07:58:02 UTC 2007


----- Original Message ----- 
From: "Chuck Swiger" <cswiger at mac.com>
To: "Ted Mittelstaedt" <tedm at toybox.placo.com>
Cc: "Ken Cochran" <kwc at theworld.com>; <freebsd-questions at freebsd.org>
Sent: Thursday, March 15, 2007 9:12 AM
Subject: Re: Fixing DST manually on rel4 & rel5


> On Mar 14, 2007, at 10:29 PM, Ted Mittelstaedt wrote:
> > echo "ln -s /usr/share/zoneinfo/PST8PDT /etc/localtime"
> > [ ... ]
> >
> > I think the ln-s line is backwards, I didn't check it.  I think it's
> > been a while since they used softlinks for localtime
> 
> The use of "ln -s" will work just fine as written.  I don't know why  
> tzsetup makes a copy of the zoneinfo file rather than setting up a  
> symlink, but making a copy simply allows the file in /etc to become  
> out-of-sync if one updates the files under /usr/share{/lib}/zoneinfo  
> without re-running tzsetup again.
> 

Maybe they want the timezone to be correct if you boot into
single user mode and don't mount /usr?

Ted


More information about the freebsd-questions mailing list