hwclock has life of its own

Christopher Murtagh yellowdog-general@lists.terrasoftsolutions.com
Wed Jan 29 10:41:01 2003


On Tue, 28 Jan 2003, Aurel Wisse wrote:
>Thanks Christopher, but unfortunately it doesn't work:

 Hrm... strange. Ok, try this (just to make sure your system is
config'd the same as mine).

 as root, do the following:

 cd /etc/

 rm localtime

 ln -s /usr/share/zoneinfo/America/Montreal localtime

 rdate -s time.nrc.ca

 clock -w

 reboot

 then try clock -r and clock -r --utc and see if they come up the same 
(they do on my machine):

[root@mafalda etc]# /sbin/clock -r
Wed 29 Jan 2003 12:40:48 PM EST  -0.042178 seconds
[root@mafalda etc]# /sbin/clock -r --utc
Wed 29 Jan 2003 12:40:52 PM EST  -0.563314 seconds

Cheers,

Chris

-- 

Christopher Murtagh
Webmaster / Sysadmin
Web Communications Group
McGill University
Montreal, Quebec
Canada

Tel.: (514) 398-3122
Fax:  (514) 398-2017