stat,tail: recognize nullfs file system type

* src/stat.c (human_fstype): Add "nullfs" (0x4E554C4C).
* NEWS: Mention the improvement.
This commit is contained in:
Iván Ezequiel Rodriguez authored and Pádraig Brady committed 2026-08-12 13:13:44 +01:00
1 parent f5e1fd3126
commit 50216887b6
2 files changed
+8

No files matched your search

+6
View File
@@ -69,6 +69,12 @@ GNU coreutils NEWS -*- outline -*-
locales like SHIFT-JIS where a single byte can decode to a wide character.
[bug introduced in coreutils-9.5]
** New Features
'stat' and 'tail' now know about the "nullfs" file system type.
stat -f -c%T now reports the file system type,
and tail -f uses inotify for this file system.
** Changes in behavior
'env' and 'printenv' now quote printed environment variables honoring the
+2
View File
@@ -451,6 +451,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "nsfs";
case S_MAGIC_NTFS: /* 0x5346544E local */
return "ntfs";
case S_MAGIC_NULL_FS: /* 0x4E554C4C local */
return "nullfs";
case S_MAGIC_OPENPROM: /* 0x9FA1 local */
return "openprom";
case S_MAGIC_OCFS2: /* 0x7461636F remote */