[comp.unix.questions] 1996 has come too soon

UH2@psuvm.psu.edu (Lee Sailer) (02/01/90)

A few weeks ago, I accidentally set the year on my ATT6300+ running Unix V.2
to 1996.  OK.  When I noticed, I set it back to 1990, but now, whenever I
reboot, I come up in 1996 again.  Ack!

I've used find to locate all the files with future timestamps, and set them
to the present, eg,

    $ >xxx
    $ find / -newer xxx -exec touch {} \;

but that didn't help.  I figure there is a file somewhere that contains the
most recent date (1996) and at boot up time that is being used, but I can't
find it.  Any help (by email) appreciated.

                                          Lee

thomas@uplog.se (Thomas Tornblom) (02/12/90)

In article <90032.105750UH2@PSUVM.BITNET> UH2@psuvm.psu.edu (Lee Sailer) writes:

   A few weeks ago, I accidentally set the year on my ATT6300+ running Unix V.2
   to 1996.  OK.  When I noticed, I set it back to 1990, but now, whenever I
   reboot, I come up in 1996 again.  Ack!

   I've used find to locate all the files with future timestamps, and set them
   to the present, eg,

       $ >xxx
       $ find / -newer xxx -exec touch {} \;

   but that didn't help.  I figure there is a file somewhere that contains the
   most recent date (1996) and at boot up time that is being used, but I can't
   find it.  Any help (by email) appreciated.

					     Lee

The V.2 (sysv68k) port we are using uses the timestamp from the superblock
on the root partition. The time is read from the superblock during boot.
Be sure to sync the filesystem before halting the system.

	Thomas.

-- 
Real life:	Thomas Tornblom		Email:	thomas@uplog.se
Snail mail:	TeleLOGIC Uppsala AB		Phone:	+46 18 189406
		Box 1218			Fax:	+46 18 132039
		S - 751 42 Uppsala, Sweden