From: Chris Wedgwood <cw@f00f.org>
To: "Kenneth M. Howlett" <av556@detroit.freenet.org>
Cc: linux-kernel@vger.kernel.org, mnalis-umsdos@voyager.hr,
chaffee@cs.berkeley.edu, bsg@uniyar.ac.ru
Subject: Re: PROBLEM: dos filesystem timestamps and daylight savings time
Date: Wed, 30 Oct 2002 08:34:25 -0800 [thread overview]
Message-ID: <20021030163425.GB13126@tapu.f00f.org> (raw)
In-Reply-To: <200210300108.UAA17536@detroit.freenet.org>
On Tue, Oct 29, 2002 at 08:08:20PM -0500, Kenneth M. Howlett wrote:
> I think the timestamps of a dos filesystem are stored in local
> time.
Yes, I beleive it does.
> So the dos filesystem driver needs to convert the local time to unix
> standard time, and then ls converts back to local time, and displays
> the timestamp in local time.
Nope.... that's a disgusting ugly hack that won't work (consider that
there are two 2:00am for example in a given time zone, one DST and one
without, does DOS store a bit to say which is which in ambiguous
cases?)
If anything, the FS should know about a tz-offset and just simply add
that to the timestamps before passing the data up to the VFS...
<pause>
Checking the code, it uses sys_tz to do exactly this...
--cw
prev parent reply other threads:[~2002-10-30 16:28 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-30 1:08 Kenneth M. Howlett
2002-10-30 8:23 ` Jan Hudec
2002-10-30 16:34 ` Chris Wedgwood [this message]
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=20021030163425.GB13126@tapu.f00f.org \
--to=cw@f00f.org \
--cc=av556@detroit.freenet.org \
--cc=bsg@uniyar.ac.ru \
--cc=chaffee@cs.berkeley.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=mnalis-umsdos@voyager.hr \
/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
Powered by JetHome