Linux查看系统block size大小的方法:
1.tune2fs命令查看block size大小:
[root@localhost tmp]# tune2fs -l /dev/sda1|grep "Block size"
Block size: 1024
/dev/sda1 为/boot 分区的挂载点;
2.stat命令查看block size大小:
[root@localhost tmp]# stat /boot/|grep "IO Block"
Size: 1024 Blocks: 4 IO Block: 1024 目录
3.dumpe2fs命令查看block size大小:
[root@localhost tmp]# dumpe2fs /dev/sda1 |grep "Block size"
dumpe2fs 1.41.12 (17-May-2010)
Block size: 1024
本文出自 “模范生的学习博客” 博客,请务必保留此出处http://mofansheng.blog.51cto.com/8792265/1745369
原文地址:http://mofansheng.blog.51cto.com/8792265/1745369