Re: [PATCH] utimensat implementation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thursday April 26, [email protected] 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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux