From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96078715811969.tru64-unix-managers.marc@archive.invalid> From: Willig Reimund Date: Tue, 28 Jul 1998 13:35:48 +0000 To: tru64-unix-managers Subject: SUMMARY: set date X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96078715811969 Hallo to all who answered me, special thanks to Girish Phadke and to Doc Blinn, who gave the most meaningfull answer. For a better understanding, i'll just attach what the doctor ordered =3D;-) originale Q: > why is it necessary to set the systems date in single user mode and = why > do i have to write down the timestamp into the disks superblocks via > "mount -u /"? solution: > You can set the date in multiuser mode, but there is a real likelihood = that > some or many of the applications that may be already running will be = very > confused by having the date change, especially if you set it backward. = It > is the nature of applications that run at multiuser level that they = assume > that, for example, the passage of time will be at a constant (or = nearly so) > rate and that the value that represents time will be monotone = increasing. > As for "mount -u /", if you change the date manually, but haven't yet = done > the mount of the root file system read-write (which is what that = command is > doing), then during the transition from single-user to multi-user = mode, a > check is made against the "last shutdown time" in the root disk = (written as > the root file system is dismounted on shutdown), and that check could = cause > the system software to conclude that the new date you entered is = invalid and > reset it to the last shutdown time (since normally the date/time is = taken > out of the TOY clock on the motherboard, but sometimes the TOY clock = fails, > so there are a whole raft of sanity checks that sometimes don't do = what you > really want). mit freundlichen Gr=FC=DFen Reimund Willig willig.reimund@gdr.de