bug#80533: [PATCH] stat: show ext4 fs
Pádraig Brady <[email protected]> Tue, 3 Mar 2026 15:20:04 +0000
| Newsgroups | gmane.comp.gnu.core-utils.bugs |
|---|---|
| Message-ID | <[email protected]> |
forcemerge 13582 80533 stop This has been proposed a few times: https://lists.gnu.org/archive/html/bug-coreutils/2009-02/msg00160.html https://lists.gnu.org/archive/html/coreutils/2012-12/msg00065.html https://bugs.gnu.org/13582 On 03/03/2026 14:21, Weixie Cui via GNU coreutils Bug Reports wrote: > From: Weixie Cui <[email protected]> > > / is ext4 filesystem > stat -f -c %T / > result in: > ext2/ext3 > should result in: > ext2/ext3/ext4 > --- > src/stat.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/src/stat.c b/src/stat.c > index e682bc6b9..4a2b93033 100644 > --- a/src/stat.c > +++ b/src/stat.c > @@ -366,7 +366,7 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) > case S_MAGIC_EXT: /* 0x137D local */ > return "ext"; > case S_MAGIC_EXT2: /* 0xEF53 local */ > - return "ext2/ext3"; > + return "ext2/ext3/ext4"; > case S_MAGIC_EXT2_OLD: /* 0xEF51 local */ > return "ext2"; > case S_MAGIC_F2FS: /* 0xF2F52010 local */