Re: [PATCH] utimensat implementation
From: Neil Brown
Date: Thu Apr 26 2007 - 21:58:32 EST
On Thursday April 26, drepper@xxxxxxxxxx wrote:
> The next revision of POSIX will support fine-grained filesystem
> timestamps the way we already support. struct stat will report
> nanosecond values. So far so good.
Does it also specify how to find out what granularity is used by the
filesystem? I had a need for this just recently and couldn't see any
way to extract it.
[If the mtime of a file matches the current time, then you cannot
cache the contents of the file. You have to wait until the mtime is
in the past. Without knowing the granularity, you cannot tell if the
mtime still matches current time or not]
Thanks,
NeilBrown
-
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/