[lkml]   [2007]   [Feb]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [patch] x86-64 ext2/ext3 datestamp problem
    Markus Rechberger wrote:
    > H. Peter Anvin wrote:
    >> Markus Rechberger wrote:
    >>> My debian system's coreutils package only allows dates between 1902 and
    >>> 2038, but it might be interesting to get that right if it's wrong.
    >>> touch (GNU coreutils) 5.97 just says invalid dateformat to 2050-01-01
    >> Lemme guess, you're on a 32-bit system...
    > I have both here, 64 and 32bit
    > If I touch a file with 1905 on my 32bit system and remount the disk the
    > date will remain at 1905 without any patch.

    The reason is that most 32-bit systems (e.g. i386) only have a 32-bit
    time_t, so the user space interface wraps around in 2038.

    However, most 64-bit systems (e.g. x86_64) have 64-bit time_t, and thus
    don't have that problem.

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2007-02-06 23:11    [W:0.064 / U:32.772 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site