From: Andreas Dilger Date: Mon, 6 Oct 2008 16:17:19 +0000 (-0600) Subject: stat: add lustre filesystem type X-Git-Tag: v7.1~191 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a36f4cb451e96278127922a68513a8da8fe6d13f;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/NEWS b/NEWS index 5ef98041ce..ab7d5bdbeb 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 1b444f7ddf..f5bf8cdeee 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 */