1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00

Handle cgroup and btrfs filesystems

This commit is contained in:
Andreas Jaeger
2010-10-01 10:49:47 -04:00
committed by Ulrich Drepper
parent 91c4255919
commit 6484ba5ef0
4 changed files with 27 additions and 2 deletions

View File

@ -109,6 +109,12 @@ __statvfs_getflags (const char *name, int fstype, struct stat64 *st)
case LOGFS_MAGIC_U32:
fsname = "logfs";
break;
case BTRFS_SUPER_MAGIC:
fsname = "btrfs";
break;
case CGROUP_SUPER_MAGIC:
fsname = "cgroup";
break;
}
FILE *mtab = __setmntent ("/proc/mounts", "r");