On Ubuntu 14.04, I am checking the ext4 filesystem for my home based on a file new
in it:
$ stat -f new
File: "new"
ID: 38d4cd29e44142c6 Namelen: 255 Type: ext2/ext3
Block size: 4096 Fundamental block size: 4096
Blocks: Total: 144152970 Free: 79424314 Available: 72095994
Inodes: Total: 36626432 Free: 35430143
why does stat -f
show the file system type is ext2/ext3 while my home filesystem type is ext4?
stat
outputext4
? Probably is just doesn't care. – Hauke Laging Jan 22 '16 at 03:18stat
, and I haven't seenstat
outputext4
. – Tim Jan 22 '16 at 03:34df -T
instead. – Pandya Jan 22 '16 at 08:56blkid
- it will hunt through the superblock looking at various flags to determine whether the filesystem is ext2, ext3, or ext4. – Mark Plotnick Jan 22 '16 at 09:07