Re: [PATCH] UTC timestamp option for FAT filesystems

From: OGAWA Hirofumi
Date: Thu Jun 26 2008 - 12:26:21 EST


Joe Peterson <joe@xxxxxxxxxxx> writes:

> I do not consider this modifying the design of FAT. FAT does not have
> the concept of time zone, DST, or UTC. It is just a date/time (stamped
> on the volume with no info about what that means). It is customary to
> say these times are in local time, and Windows happens to use it as if
> it's straight local time (Linux tries to emulate this). But using FAT
> to store UTC instead is not changing the design, it is just using it
> differently. I agree this would not be a good idea when sharing a
> volume with Windows, but for cameras, e.g., why not?

UTC itself is not wrong. But, I think *"utc" option* is not way to go.

>> However, I can accept that hack for many broken devices on realworld,
>> but, the modifying design is not right option. Do you see what I want
>> to say?
>
> If it is a hack (and I do not consider it to be so), I still do not see
> why the utc option is a design change - how else would you get the
> desired behavior?

I think we agreed to fix sys_tz is good thing.

If so, I'd like to see "tz=xxx" or something for the future, instead of
"utc", don't you think so? I really hate to add the random options.
--
OGAWA Hirofumi <hirofumi@xxxxxxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/