mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
stat: Recognize k-afs, gfs, ocfs2 file system types
* src/stat.c (human_fstype): Add k-afs, gfs/gfs2 and ocfs2. * NEWS: Update the stat -f entry.
This commit is contained in:
1 parent
4b449caf2d
commit
53db8d6479
2 files changed
+8
-2
No files matched your search
@@ -9,8 +9,8 @@ GNU coreutils NEWS -*- outline -*-
|
||||
a commmand of the above form would fail for all subdirectories.
|
||||
[bug introduced in coreutils-8.0]
|
||||
|
||||
stat -f recognizes more file system types: fuseblk, rpc_pipefs.
|
||||
Also Minix V3 is displayed correctly as minix3, not minux3.
|
||||
stat -f recognizes more file system types: k-afs, fuseblk, gfs/gfs2, ocfs2,
|
||||
and rpc_pipefs. Also Minix V3 is displayed correctly as minix3, not minux3.
|
||||
[bug introduced in coreutils-8.1]
|
||||
|
||||
touch -a once again guarantees that a file's change time is
|
||||
|
||||
@@ -268,6 +268,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
|
||||
return "fusectl";
|
||||
case S_MAGIC_FUTEXFS: /* 0x0BAD1DEA */
|
||||
return "futexfs";
|
||||
case S_MAGIC_GFS: /* 0x1161970 */
|
||||
return "gfs/gfs2";
|
||||
case S_MAGIC_HFS: /* 0x4244 */
|
||||
return "hfs";
|
||||
case S_MAGIC_HPFS: /* 0xF995E849 */
|
||||
@@ -288,6 +290,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
|
||||
return "jffs2";
|
||||
case S_MAGIC_JFS: /* 0x3153464A */
|
||||
return "jfs";
|
||||
case S_MAGIC_KAFS: /* 0x6B414653 */
|
||||
return "k-afs";
|
||||
case S_MAGIC_LUSTRE: /* 0x0BD00BD0 */
|
||||
return "lustre";
|
||||
case S_MAGIC_MINIX: /* 0x137F */
|
||||
@@ -314,6 +318,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
|
||||
return "ntfs";
|
||||
case S_MAGIC_OPENPROM: /* 0x9FA1 */
|
||||
return "openprom";
|
||||
case S_MAGIC_OCFS2: /* 0x7461636f */
|
||||
return "ocfs2";
|
||||
case S_MAGIC_PROC: /* 0x9FA0 */
|
||||
return "proc";
|
||||
case S_MAGIC_QNX4: /* 0x002F */
|
||||
|
||||
Reference in new issue
Block a user