Keeping /etc/localtime up-to-date

dieterbsd at engineer.com dieterbsd at engineer.com
Mon Mar 28 20:52:46 UTC 2011


>>> And while I (think I) recall that the equivalent of /etc/localtime
>>> was implemented in some version of SunOS many years ago as a 
symlink,
>>> I believe that approach could be problematic for FreeBSD, as it
>>> could impose some unintended requirements on some of the start-up
>>> scripts.
>>
>> I have been running FreeBSD and NetBSD with /etc/localtime being
>> a symlink for years and have not seen any problems as a result.
>
> The one (and only) problem that I've seen from using a symlink for
> /etc/localtime is that -- since the /usr partition is not mounted
> early-on -- boot messages get logged in GMT offset until /usr is 
mounted.
>
> However, some simply ignore this.

What boot messages are these?

grep 2011 /var/run/dmesg.boot
Copyright (c) 1992-2011 The FreeBSD Project.
FreeBSD 8.2-RELEASE #9: Sun Mar  6 18:47:36 pst 2011





More information about the freebsd-hackers mailing list