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?

Get Downloads folder on Windows and Linux

There are some ways to get downloads folder with C# on Windows, but how to do this so that it will work on Windows and Linux? (Interface is AvaloniaUI if important.)