mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jan Harkes <jaharkes@cs.cmu.edu>
To: David Balazic <david.balazic@uni-mb.si>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Wrong clock initialization
Date: Tue, 20 May 2003 16:16:49 -0400	[thread overview]
Message-ID: <20030520201649.GA18678@delft.aura.cs.cmu.edu> (raw)
In-Reply-To: <3ECA673F.7B3FB388@uni-mb.si>

On Tue, May 20, 2003 at 07:34:55PM +0200, David Balazic wrote:
> As almost nobody runs their clock in UTC, this means that the system
> is running on wrong time until some userspace tool corrects it.

I thought everybody used the CMOS clock in UTC, which means that the
kernel doesn't have to know anything about nasty little details related
to timezones, daylight savings time and such. Localtime is just a
presentation issue.

> This can lead to situtation when time goes backwards :
> 
> timezone is 2hours east of UTC.
> UTC time : 20:00
> local time : 22:00
> 
> System time between boot and userspace fix : 22:00UTC
> System time after fix : 20:00UTC
> 
> Comments ?

All your disks are typically still mounted readonly and no important
applications are running except for perhaps an fsck /dev/root between
the time the system is booted and the clock is fixed up. So it really
doesn't matter whether your clock is off by a couple of hours for a
couple of seconds (a minute?) during boot.

Jan


  parent reply	other threads:[~2003-05-20 20:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-20 17:34 David Balazic
2003-05-20 18:08 ` David D. Hagood
2003-05-20 18:10 ` george anzinger
2003-05-20 18:27   ` David Balazic
2003-05-20 20:21     ` george anzinger
2003-05-20 18:17 ` Michael Buesch
2003-05-20 18:26   ` David Balazic
2003-05-20 20:16 ` Jan Harkes [this message]
2003-05-21 11:38 ` Jesse Pollard
2003-05-21 17:00 ` Jerry Cooperstein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030520201649.GA18678@delft.aura.cs.cmu.edu \
    --to=jaharkes@cs.cmu.edu \
    --cc=david.balazic@uni-mb.si \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®