On 07/31/2012 09:52 AM, Jim Meyering wrote: > fstat uses a file descriptor. > Calling fstatfs on that same file descriptor should > give a reliable (race-free) file system type.
Ah, sorry, I thought the idea was to cache the statfs info so that we didn't need to invoke two system calls for each file. But yes, if there's no cache we should be OK.
