Keeping /etc/localtime up-to-date

perryh at perryh at
Thu Mar 31 08:01:50 UTC 2011

Matthias Andree <matthias.andree at> wrote:

> > If they're in the same physical FS there's no need for a symlink.
> > You might as well use a hardlink.
> And then discuss how all the time zone configuration tools deal
> with /etc/localtime - truncate/overwrite, direct overwrite ...

In that case neither a symlink nor a hardlink is safe, regardless
of whether /etc and /usr/share/timezone are in the same FS.  Either
truncate/overwrite or direct overwrite will trash the target of a
symlink just as they would the file identified by a hardlink.

More information about the freebsd-hackers mailing list