1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Handle Lustre filesystem

This commit is contained in:
Andreas Dilger
2011-07-07 00:20:32 -04:00
committed by Ulrich Drepper
parent c75fa153a9
commit de283087c7
5 changed files with 25 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* Copyright (C) 1998-2006, 2010 Free Software Foundation, Inc.
/* Copyright (C) 1998-2006, 2010, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
@ -115,6 +115,9 @@ __statvfs_getflags (const char *name, int fstype, struct stat64 *st)
case CGROUP_SUPER_MAGIC:
fsname = "cgroup";
break;
case LUSTRE_SUPER_MAGIC:
fsname = "lustre";
break;
}
FILE *mtab = __setmntent ("/proc/mounts", "r");