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:
committed by
Ulrich Drepper
parent
91c4255919
commit
6484ba5ef0
@ -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");
|
||||
|
Reference in New Issue
Block a user