1.用tune2fs查看block size大小:
1 2 | tune2fs -l /dev/sda1 | grep "Block size" Block size: 1024 |
2.用stat查看block size大小:
1 2 | stat /boot/ | grep "IO Block" Size: 1024 Blocks: 2 IO Block: 1024 目录 |
3.用dumpe2fs查看block size大小:
1 2 | dumpe2fs /dev/sda1 | grep "Block size" Block size: 1024 |