public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Schwartz <davids@webmaster.com>
To: <kaos@ocs.com.au>
Cc: Linux-Kernel (E-mail) <linux-kernel@vger.kernel.org>
Subject: Re: Getting system time in kernel..
Date: Tue, 2 Oct 2001 23:31:09 -0700	[thread overview]
Message-ID: <20011003063110.AAA11976@shell.webmaster.com@whenever> (raw)
In-Reply-To: <31512.1002085772@kao2.melbourne.sgi.com>


On Wed, 03 Oct 2001 15:09:32 +1000, Keith Owens wrote:
>On Tue, 2 Oct 2001 22:01:41 -0700,
>David Schwartz <davids@webmaster.com> wrote:

>>    As an example, a filesystem might internally store local times in its
>>inodes. You may not be free to change the on-disk format.

>Whose local time?  The local time where the machine is or the local time of
>the user accessing the machine from the other side of the world?  There is a
>very good reason why timestamps are GMT (UTC).

	Well that's an argument in favor of two things:

	1) Avoiding such situations whenever possible by using UTC timestamps in 
things like filesystems, and

	2) Making local time offsets tuneable for each case where you need one. The 
physical location of the machine might or might not be meaningful.

	DS





  reply	other threads:[~2001-10-03  6:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02  9:14 Getting system time in kernel MOHAMMED AZAD
2001-10-02  9:43 ` David Woodhouse
2001-10-03  5:01   ` David Schwartz
2001-10-03  5:09     ` Keith Owens
2001-10-03  6:31       ` David Schwartz [this message]
2001-10-03  9:18         ` David Woodhouse
2001-10-03  8:33     ` Kai Henningsen

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=20011003063110.AAA11976@shell.webmaster.com@whenever \
    --to=davids@webmaster.com \
    --cc=kaos@ocs.com.au \
    --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