Skip to content

Expose the FileSystem name on the storage info

Zeger-Jan van de Weg requested to merge zj-nfs-usage-stats into master

Allowing GitLab to detect NFS requires a statfs syscall and remapping that value to a string value. For the MAGIC numbers, as found in man 2 statfs, the names are mapped as mentioned there. The only exceptions are the EXT values, as these had duplicate keys.

Part of: https://gitlab.com/gitlab-org/gitlab-ce/issues/60602

Merge request reports