> 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
-
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/