On Sat, Jun 09, 2007 at 06:36:59PM +0100, andy wrote: > > > Hi Roberto > > How do I find out what /etc/localtime links to? It is a binary file. > There doesn't appear to be a config file, nor any man pages. > Interesting. On one system of mine it is a binary file, yet on the other it is a symlink to /usr/share/zoneinfo/US/Eastern. Since you say that /etc/localtime is not a symlink, this little snippet will tell you which zoneinfo files it matches: ZONE_TMP_FILE=`mktemp` && find /usr/share/zoneinfo/ -type f -print0 |xargs -0 md5sum >>$ZONE_TMP_FILE && grep `md5sum /etc/localtime |cut -f1 -d\ ` $ZONE_TMP_FILE && rm -f $ZONE_TMP_FILE Just copy it and paste it at a bash prompt. Post the output here. Regards, -Roberto -- Roberto C. Sánchez http://people.connexer.com/~roberto http://www.connexer.com
Attachment:
signature.asc
Description: Digital signature