神剑山庄资源网 Design By www.hcban.com
在linux系统上,可以用命令tune2fs ,测试如下
[root@localhost test10g]# tune2fs -help tune2fs 1.35 (28-Feb-2004) tune2fs: invalid option -- h Usage: tune2fs [-c max-mounts-count] [-e errors-behavior] [-g group] [-i interval[d|m|w]] [-j] [-J journal-options] [-l] [-s sparse-flag] [-m reserved-blocks-percent] [-o [^]mount-options[,...]] [-r reserved-blocks-count] [-u user] [-C mount-count] [-L volume-label] [-M last-mounted-dir] [-O [^]feature[,...]] [-T last-check-time] [-U UUID] device [root@localhost test10g]# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 8776068 7576504 753764 91% / /dev/sda1 497829 16303 455824 4% /boot none 517300 0 517300 0% /dev/shm /dev/sda5 1035660 96452 886600 10% /tmp [root@localhost test10g]# tune2fs -l /dev/sda1|grep Block Block count: 514048 Block size: 1024 Blocks per group: 8192 [root@localhost test10g]# tune2fs -l /dev/sda2|grep Block Block count: 2229018 Block size: 4096 Blocks per group: 32768
上面Block size即为块大小。
在WINDOWS系统上,可以用命令fsutil来查看,测试如下:
C:\Documents and Settings\ct2>fsutil --help
--help 是无效参数。
---- 支持的命令 ----
behavior 控制文件系统行为 dirty 管理卷的被损坏的位数 file 文件特定命令 fsinfo 文件系统信息 hardlink 硬链接管理 objectid 对象 ID 管理 quota 配额管理 reparsepoint 重分析点管理 sparse 稀疏文件控制 usn USN 管理 volume 卷管理 C:\Documents and Settings\ct2>fsutil fsinfo ntfsinfo c: NTFS 卷序列号 : 0x72ccb5f2ccb5b129 版本 : 3.1 区数量 : 0x0000000008ff8235 簇总数 : 0x00000000011ff046 可用簇 : 0x0000000000547b73 保留总数 : 0x0000000000000050 每个扇区字节数 : 512 每个簇字节数 : 4096 每个 FileRecord 段的字节数 : 1024 每个 FileRecord 段的簇数 : 0 Mft 有效数据长度 : 0x0000000009cac000 Mft 起始 Lcn : 0x00000000000c4df6 Mft2 起始 Lcn : 0x00000000008ff823 Mft 区域起始 : 0x0000000001067920 Mft 区域结尾 : 0x000000000108ce60
上面簇字节数既为块大小。
注:第二扩展文件系统(second Extended Filesystem,Ext2)。 Ext3(third Extended Filesystem)
man fs ext2 is the high performance disk filesystem used by Linux for fixed disks as well as removable media. The second extended filesystem was designed as an extension of the extended file system (ext). ext2 offers the best performance (in terms of speed and CPU usage) of the filesystems supported under Linux. ext3 is a journaling version of the ext2 filesystem. It is easy to switch back and forth between ext2 and ext3. ext3 is a journaling version of the ext2 filesystem. ext3 offers the most complete set of journaling options available among journaling filesystems.
以上就是小编为大家带来的查看linux文件系统块大小的实现方法全部内容了,希望大家多多支持~
标签:
linux,查看系统盘大小
神剑山庄资源网 Design By www.hcban.com
神剑山庄资源网
免责声明:本站文章均来自网站采集或用户投稿,网站不提供任何软件下载或自行开发的软件!
如有用户或公司发现本站内容信息存在侵权行为,请邮件告知! 858582#qq.com
神剑山庄资源网 Design By www.hcban.com
暂无查看linux文件系统块大小的实现方法的评论...
更新日志
2024年09月20日
2024年09月20日
- [雨果唱片]李冰《地方民歌·戏曲系列-爱的颂歌》WAV
- 《模拟人生》真人电影官宣!玛格特·罗比担任制片人
- 《星战绝地》系列玩家数超4000万!续作表现超预期
- EA称AI是其业务核心!能提高开发效率、节约成本
- 《十年经典成名好歌 高品质最佳音乐 2CD》[WAV/分轨][1GB]
- 《8个男人的故事 2CD》[WAV/分轨][1GB]
- 《粤语超白金 百听不厌的经典金曲 2CD》[WAV/分轨][1.3GB]
- 群星.1994-全世界精丫华星】【WAV+CUE】
- 杜德伟.1997-知.解2CD【滚石】【WAV+CUE】
- 群星.2022-一不小心喵上你原声大碟【TME影音】【FLAC分轨】
- 《战锤40K星际战士2》卡在正在加入服务器解决方法
- 《勇者斗恶龙怪物仙境3》玩法内容介绍
- 《幸福工厂》无限报错解决方法
- 交错战线原始交易所推荐角色一览
- 战锤40K星际战士2战术职业介绍|战术职业技能效果一览