bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] add lustre filesystem type


From: Andreas Dilger
Subject: [PATCH] add lustre filesystem type
Date: Mon, 06 Oct 2008 10:17:19 -0600
User-agent: Mutt/1.5.18 (2008-05-17)

This patch adds "stat -f" detection for the "lustre" filesystem type.
Lustre is a GPL distrubuted Linux filesystem used on many of the
largest supercomputers in the world -
http://en.wikipedia.org/wiki/Lustre_(file_system)


--- coreutils-6.12/src/stat.c.orig      2008-05-26 00:40:32.000000000 -0600
+++ coreutils-6.12/src/stat.c   2008-10-03 17:40:12.000000000 -0600
@@ -271,6 +271,8 @@ human_fstype (STRUCT_STATVFS const *stat
       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 */


Cheers, Andreas
--
Andreas Dilger
Sr. Staff Engineer, Lustre Group
Sun Microsystems of Canada, Inc.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]