summaryrefslogtreecommitdiff
path: root/src/stat.c
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@sun.com>2008-10-06 10:17:19 -0600
committerJim Meyering <meyering@redhat.com>2008-10-06 22:35:57 +0200
commita36f4cb451e96278127922a68513a8da8fe6d13f (patch)
tree9763f8c1c5788d83092fbb1fdbabf2ed453a4edd /src/stat.c
parented0a1c9f943ed112c7ef24b8ab85d530ce5ca324 (diff)
downloadcoreutils-a36f4cb451e96278127922a68513a8da8fe6d13f.tar.xz
stat: add lustre filesystem type
* src/stat.c (human_fstype) [S_MAGIC_LUSTRE]: Add case. Make "stat -f" recognize the "Lustre" filesystem type. <http://en.wikipedia.org/wiki/Lustre_(file_system)> * NEWS: Mention this feature.
Diffstat (limited to 'src/stat.c')
-rw-r--r--src/stat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index 1b444f7dd..f5bf8cdee 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -265,6 +265,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "jffs";
case S_MAGIC_JFS: /* 0x3153464A */
return "jfs";
+ case S_MAGIC_LUSTRE: /* 0x0BD00BD0 */
+ return "lustre";
case S_MAGIC_MINIX: /* 0x137F */
return "minix";
case S_MAGIC_MINIX_30: /* 0x138F */