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.
This commit is contained in:
Andreas Dilger 2008-10-06 10:17:19 -06:00 committed by Jim Meyering
parent ed0a1c9f94
commit a36f4cb451
2 changed files with 6 additions and 0 deletions

4
NEWS
View File

@ -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]

View 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 */