* SUMMARY: set date
@ 1998-07-28 13:35 Willig Reimund
0 siblings, 0 replies; only message in thread
From: Willig Reimund @ 1998-07-28 13:35 UTC (permalink / raw)
To: tru64-unix-managers
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-07-28 13:35 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-07-28 13:35 SUMMARY: set date Willig Reimund
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox