bug#64588: BUG: stat -f incorrectly reports a BTRFS device as a tmpfs
From:
support
Subject:
bug#64588: BUG: stat -f incorrectly reports a BTRFS device as a tmpfs
Date:
Wed, 12 Jul 2023 23:46:38 +0100
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0
coreutils version 9.1-1 on Debian testing, but also exists in previous
versions.
Example:
stat -f /dev/sdb
 File: "/dev/sdb"
   ID: eb91af7d7bda02dd Namelen: 255    Type: tmpfs
Block size: 4096Â Â Â Â Â Â Fundamental block size: 4096
Blocks: Total: 2012292Â Â Â Free: 2012292Â Â Â Available: 2012292
Inodes: Total: 2012292Â Â Â Free: 2011839
stat -f /dev/disk/by-uuid/6abaa68a-2670-4d8b-8d2a-fd7321df9242
 File: "/dev/disk/by-uuid/6abaa68a-2670-4d8b-8d2a-fd7321df9242"
   ID: eb91af7d7bda02dd Namelen: 255    Type: tmpfs
Block size: 4096Â Â Â Â Â Â Fundamental block size: 4096
Blocks: Total: 2012292Â Â Â Free: 2012292Â Â Â Available: 2012292
Inodes: Total: 2012292Â Â Â Free: 2011839
blkid /dev/sdb