Relative Content

Tag Archive for clinux

Does statfs always follow symbolic links?

It looks like statfs system call (called through statvfs standard C library function) is dereferencing (following) the symbolic link and therefore showing the stats of the filesystem that the target file is located and not the filesystem that the symbolic link resides.
Is this expected and always guaranteed?