Re: [QUESTION] file access time in millisecond?

From: Andi Kleen
Date: Mon Feb 12 2007 - 03:02:32 EST


"Jeff Chua" <jeff.chua.linux@xxxxxxxxx> writes:

> Is it possible to get file access time in millisecond resolution?
>
> stat() returns time in seconds,

Not correct (at least for glibc stat). It supports nanoseconds these days,
although not all file systems (including ext3) do yet.

Some of the old stat compat emulations do not.

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