>Is it required to run rtc when I edit  /etc/TIMEZONE file and change TZ 
>variable ?

No; there's no direct connection between what's in /etc/rtc_config
and what is in /etc/TIMEZONE.

By default they are configured the same but you can also run the
rtc clock in a different timezone, e.g., GMT.  I run all my x86
system in GMT.

This only is a problem when you have multiple bootable OSes on the system.

>Is it required to reboot the machine once timezone changes are done ?

If you want all processes to use the new timezone, then perhaps yes.


>I see Linux machines do need reboot when timezone is changed.

Yes, but processes can use their own private timezone and you don't need to
boot the system for that.

You can also use the following trick:

Configure "rtc" to use GMT

Configure timezone with "localtime".

Use "zic -l Your/Timezone" and you're get a "localtime" timezone file:

truss -t link,symlink -f zic -l Europe/Amsterdam
9159:   link("/usr/share/lib/zoneinfo/Europe/Amsterdam", 
"/usr/share/lib/zoneinfo/localtime") = 0


Then you can rerun "zic -l" and you can change the timezone more or less
"on-the-fly".  (Apart from cached files in some applications)

Casper

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to