This content has been marked as final. Show 2 replies
The value of the "f_fsid" field of the statvfs structure returned from calls to statvfs() or fstatvfs() will be identical if both files paths are on the same file system.
Beware of softlinks, though. I don't recall offhand what happens if you run statvfs() on a path that's a softlink.
Again, appreciate your answer so much, Andrew!