mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
stat,tail: recognize nullfs file system type
* src/stat.c (human_fstype): Add "nullfs" (0x4E554C4C). * NEWS: Mention the improvement.
This commit is contained in:
1 parent
f5e1fd3126
commit
50216887b6
2 files changed
+8
No files matched your search
@@ -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
|
||||
|
||||
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user