]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
stat: add lustre filesystem type
authorAndreas Dilger <adilger@sun.com>
Mon, 6 Oct 2008 16:17:19 +0000 (10:17 -0600)
committerJim Meyering <meyering@redhat.com>
Mon, 6 Oct 2008 20:35:57 +0000 (22:35 +0200)
* 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.

NEWS
src/stat.c

diff --git a/NEWS b/NEWS
index 5ef98041ce033aa834a7309943d96d4162e719f4..ab7d5bdbeb777316f750f01591e302732a01110e 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,10 @@ GNU coreutils NEWS                                    -*- outline -*-
 
 * Noteworthy changes in release ?.? (????-??-??) [?]
 
+** New features
+
+  stat -f recognizes the Lustre file system type
+
 
 * Noteworthy changes in release 7.0 (2008-10-05) [beta]
 
index 1b444f7ddfa3c5872cf050168a774efd03555f27..f5bf8cdeeee4d98b3f00acd05621663a5935ccd9 100644 (file)
@@ -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 */