亚洲乱码中文字幕综合,中国熟女仑乱hd,亚洲精品乱拍国产一区二区三区,一本大道卡一卡二卡三乱码全集资源,又粗又黄又硬又爽的免费视频

查看linux文件系統(tǒng)塊大小的實(shí)現(xiàn)方法

 更新時間:2016年11月11日 10:30:13   投稿:jingxian  
下面小編就為大家?guī)硪黄榭磍inux文件系統(tǒng)塊大小的實(shí)現(xiàn)方法。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧

在linux系統(tǒng)上,可以用命令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系統(tǒng)上,可以用命令fsutil來查看,測試如下:

C:\Documents and Settings\ct2>fsutil --help
--help 是無效參數(shù)。
---- 支持的命令 ----

behavior    控制文件系統(tǒng)行為
dirty      管理卷的被損壞的位數(shù)
file      文件特定命令
fsinfo     文件系統(tǒng)信息
hardlink    硬鏈接管理
objectid    對象 ID 管理
quota      配額管理
reparsepoint  重分析點(diǎn)管理
sparse     稀疏文件控制
usn       USN 管理
volume     卷管理

C:\Documents and Settings\ct2>fsutil fsinfo ntfsinfo c:

NTFS 卷序列號 :    0x72ccb5f2ccb5b129
版本 :             3.1
區(qū)數(shù)量 :         0x0000000008ff8235
簇總數(shù) :         0x00000000011ff046
可用簇 :         0x0000000000547b73
保留總數(shù) :         0x0000000000000050
每個扇區(qū)字節(jié)數(shù) :        512
每個簇字節(jié)數(shù) :        4096
每個 FileRecord 段的字節(jié)數(shù)  : 1024
每個 FileRecord 段的簇數(shù) : 0
Mft 有效數(shù)據(jù)長度 :      0x0000000009cac000
Mft 起始 Lcn :         0x00000000000c4df6
Mft2 起始 Lcn :         0x00000000008ff823
Mft 區(qū)域起始 :         0x0000000001067920
Mft 區(qū)域結(jié)尾  :         0x000000000108ce60

上面簇字節(jié)數(shù)既為塊大小。

注:第二擴(kuò)展文件系統(tǒng)(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.

以上就是小編為大家?guī)淼牟榭磍inux文件系統(tǒng)塊大小的實(shí)現(xiàn)方法全部內(nèi)容了,希望大家多多支持腳本之家~

相關(guān)文章

最新評論