lkml.org 
[lkml]   [2007]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] utimensat implementation
On Thursday April 26, drepper@redhat.com 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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-04-27 04:01    [W:0.824 / U:0.092 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site