bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22435: Need improvement in `stat` command's file-system type output


From: Bernhard Voelker
Subject: bug#22435: Need improvement in `stat` command's file-system type output
Date: Sun, 24 Jan 2016 15:03:22 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 01/22/2016 10:03 AM, D.P.Pandya wrote:
> If I tries to check filesystem type by `stat -f` command on my Ext4 
> partition, it gives output: ext2/ext3 which is wrong.
> 
> Example:
> 
> $ df -T /
> Filesystem     Type 1K-blocks     Used Available Use% Mounted on
> /dev/sda8      ext4  25672796 10813104  13532596  45% /
> 
> But `stat` shows incorrectly ext2/ext3
> 
> $ stat -f -c %T /
> ext2/ext3
> 
> So, the output for filesystem type by `stat` command should be 
> improved/fixed.

This has been discussed before:
http://lists.gnu.org/archive/html/bug-coreutils/2013-01/msg00172.html

I'm not sure if the arguments have changed enough for the patch
to be applied.  Well, ext3 support has been removed from the kernel
a few months ago, so this may warrant a new discussion.

Have a nice day,
Berny





reply via email to

[Prev in Thread] Current Thread [Next in Thread]