Re: [PATCH] UTC timestamp option for FAT filesystems



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/



Relevant Pages

  • Re: [PATCH] UTC timestamp option for FAT filesystems
    ... volume: local time or UTC. ... Windows well, and the latter would be extremely useful for other devices ... hack for changing FAT for Linux. ... that matches his local time, at least for 1/2 the year). ...
    (Linux-Kernel)
  • Re: MJD, UTC, DST, TZ, DOS, BIOS
    ... It is simple - if TZ is not defined, any conversion between UTC and local ... Note that Windows uses the same concept, ... local time, which resulted in incorrect email timestamps. ...
    (comp.os.msdos.4dos)
  • Re: Date/Time setting
    ... Both Windows and Linux use UTC for timestamps. ... difference is, in Windows you set the hardware clock to your local time, ...
    (Fedora)
  • Re: Internet time on computer
    ... boot OSX and Windows - OSX expects the internal BIOS clock to be GMT, Windows wants it to be local time, so the 2 operating systems fight w. ... Operating systems store and retrieve the time in the hardware clock located on your motherboard so that it can keep track of the time even when the system does not have power. ... Most operating systems store the time on the hardware clock as UTC by default, though some systems store the time on the hardware clock as the 'local' time. ...
    (alt.horology)
  • Re: [opensuse] opensuse 11.0 x64 time messed up with dual boot
    ... Basically my opensuse 11.0 is set to sync date/time with UTC and that works fine. ... If I remember correctly windows requires the bios time be set at the ... different from your local time depending where you are. ...
    (SuSE)