Messages in this thread |  | | From | David Schwartz <> | Date | Tue, 2 Oct 2001 23:31:09 -0700 | Subject | Re: Getting system time in kernel.. |
| |
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
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
|  |