[comp.protocols.nfs] PCNFS.SYS again...

geoff@hinode.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top) (06/28/90)

Quoth TOMIII@MTUS5.BITNET (Thomas Dwyer III) (in <90177.101607TOMIII@MTUS5.BITNET>):
#[ Long discussion of problem with TZ for PCs without clock/calendars ]

Sure there are bits in PCNFS.SYS to do with DST. There are also
things like a "seconds_west_of_gmt" variable. Unfortunately, these
things move around from release to release.

Before I hack together another little utility (which I haven't
got time to do before I leave for England] let's try another
approach. Write a little program that reads a date in the format

	Wed Jun 27 13:03:55 1990

on its stdin and writes out a date in the format

	06-27-90

on stdout. Child's play. Let's call this "fixdate.exe". In
your AUTOEXEC.BAT, after PC-NFS is started, run

	RDATE <yourserver> | FIXDATE > \NFS\SAVEDATE


Then in your AUTOEXEC.BAT before PC-NFS is started, add

	TYPE \NFS\SAVEDATE | DATE

This will work except on the days that DST goes on and off. On those
dates, reboot twice first thing in the morning.

I assume you have RDATE.EXE. If not, it's widely available on the
net (from Baylor Colege of Medicine, for example).

Geoff Arnold, PC-NFS architect, Sun Microsystems. (geoff@East.Sun.COM)
<<<< PC-NFS (*not* PC/NFS)is a registered trademark of Sun Microsystems >>>>
"There are more things in heaven and earth, Horatio, than are dreamed of
in your philosophy" - and every one of them requires an IP address...