From a36f4cb451e96278127922a68513a8da8fe6d13f Mon Sep 17 00:00:00 2001 From: Andreas Dilger Date: Mon, 6 Oct 2008 10:17:19 -0600 Subject: stat: add lustre filesystem type * src/stat.c (human_fstype) [S_MAGIC_LUSTRE]: Add case. Make "stat -f" recognize the "Lustre" filesystem type. * NEWS: Mention this feature. --- NEWS | 4 ++++ src/stat.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 5ef98041c..ab7d5bdbe 100644 --- 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] 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 */ -- cgit v1.2.3-70-g09d2