mirror of
https://github.com/coreutils/coreutils.git
synced 2024-11-24 10:23:31 +08:00
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:
parent
ed0a1c9f94
commit
a36f4cb451
4
NEWS
4
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]
|
||||
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user