Re: [2.1.32] MSDOS (Daylight Savings bug) and ISOFS complaints

Richard B. Johnson (root@analogic.com)
Thu, 10 Apr 1997 15:21:52 -0400 (EDT)


On Thu, 10 Apr 1997 tz@execpc.com wrote:

> We just went on DST, but the MSDOS/FAT filesystem hasn't. Emacs gets very
> confused (it says the file is newer, and it always will be by one hour
> until DST ends).
[SNIPPED]

If your Linux machine has the correct time-zone configuration, i.e.,
/usr/lib/zoneinfo/localtime /usr/lib/zoneinfo/posixtime,
/usr/lib/zoneinfo/posixrules...

Simply execute:

# rdate time-a.timefreq.bldrdoc.gov

This will set your Linux time from NIST. Then execute:

# clock -w

This will set your CMOS clock.

Under ms-dos put the following in either your autoexec.bat or config.sys
file:

SET TZ=EST5EDT
| |________ Eastern daylight time offset from GMT
|____________ Base time-zone.

This presumes Eastern Standard time. Your mileage may vary.

You will never have a time-zone problem again. I don't think it's fair
to call this a (Daylight Savings bug).

Cheers,
Dick Johnson
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Richard B. Johnson
Project Engineer
Analogic Corporation
Voice : (508) 977-3000 ext. 3754
Fax : (508) 532-6097
Modem : (508) 977-6870
Ftp : ftp@boneserver.analogic.com
Email : rjohnson@analogic.com, johnson@analogic.com
Penguin : Linux version 2.1.32 on an i586 machine (66.15 BogoMips).
Warning : I read unsolicited mail for $350.00 per hour. Supply billing address.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-