欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

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

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

在linux系統(tǒng)上,可以用命令tune2fs ,測(cè)試如下

[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來(lái)查看,測(cè)試如下:

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

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

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

NTFS 卷序列號(hào) :    0x72ccb5f2ccb5b129
版本 :             3.1
區(qū)數(shù)量 :         0x0000000008ff8235
簇總數(shù) :         0x00000000011ff046
可用簇 :         0x0000000000547b73
保留總數(shù) :         0x0000000000000050
每個(gè)扇區(qū)字節(jié)數(shù) :        512
每個(gè)簇字節(jié)數(shù) :        4096
每個(gè) FileRecord 段的字節(jié)數(shù)  : 1024
每個(gè) FileRecord 段的簇?cái)?shù) : 0
Mft 有效數(shù)據(jù)長(zhǎng)度 :      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ī)?lái)的查看linux文件系統(tǒng)塊大小的實(shí)現(xiàn)方法全部?jī)?nèi)容了,希望大家多多支持腳本之家~

相關(guān)文章

  • linux特殊字符及其作用大全

    linux特殊字符及其作用大全

    這篇文章主要介紹了linux特殊字符及其作用,文中給大家補(bǔ)充介紹了linux特殊字符用法,需要的朋友可以參考下
    2018-04-04
  • Linux下gdb調(diào)試打印進(jìn)程內(nèi)存信息方式

    Linux下gdb調(diào)試打印進(jìn)程內(nèi)存信息方式

    這篇文章主要介紹了Linux下gdb調(diào)試打印進(jìn)程內(nèi)存信息方式,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2023-09-09
  • Linux中如何查看usb設(shè)備信息

    Linux中如何查看usb設(shè)備信息

    這篇文章主要介紹了Linux中如何查看usb設(shè)備信息問(wèn)題,具有很好的參考價(jià)值,希望對(duì)大家有所幫助。如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2023-06-06
  • centos把網(wǎng)卡名稱修改為eth0的方法

    centos把網(wǎng)卡名稱修改為eth0的方法

    本篇文章主要介紹了centos把網(wǎng)卡名稱修改為eth0,小編覺(jué)得挺不錯(cuò)的,現(xiàn)在分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧
    2017-02-02
  • Linux腳本(shell)的使用方式

    Linux腳本(shell)的使用方式

    這篇文章主要介紹了Linux腳本(shell)的使用方式,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2025-06-06
  • Apache 安裝配置mod_pagespeed加速模塊

    Apache 安裝配置mod_pagespeed加速模塊

    mod_pagespeed是谷歌發(fā)布的加速httpd的優(yōu)化模塊,通過(guò)自動(dòng)優(yōu)化代碼、壓縮傳輸內(nèi)容、自動(dòng)緩存加速http,支持Centos/Debian系統(tǒng)
    2014-09-09
  • CentOS7下 yum方式安裝Nginx的實(shí)現(xiàn)步驟

    CentOS7下 yum方式安裝Nginx的實(shí)現(xiàn)步驟

    這篇文章主要介紹了CentOS7下 yum方式安裝Nginx的實(shí)現(xiàn)步驟的相關(guān)資料,希望通過(guò)本文能幫助到大家,需要的朋友可以參考下
    2017-10-10
  • Linux運(yùn)維基礎(chǔ)系統(tǒng)磁盤管理教程

    Linux運(yùn)維基礎(chǔ)系統(tǒng)磁盤管理教程

    這篇文章主要介紹了Linux運(yùn)維基礎(chǔ)系統(tǒng)磁盤管理教程,附含詳細(xì)的源碼示例,有需要的朋友可以借鑒參考下,希望可以有所幫助,祝大家同學(xué)習(xí)共進(jìn)步
    2021-09-09
  • 如何使用crontab管理你的Linux計(jì)劃任務(wù)

    如何使用crontab管理你的Linux計(jì)劃任務(wù)

    這篇文章主要介紹了如何使用crontab管理你的Linux計(jì)劃任務(wù)的問(wèn)題,具有很好的參考價(jià)值,希望對(duì)大家有所幫助,如有錯(cuò)誤或未考慮完全的地方,望不吝賜教
    2025-06-06
  • 查看linux文件系統(tǒng)塊大小的實(shí)現(xiàn)方法

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

    下面小編就為大家?guī)?lái)一篇查看linux文件系統(tǒng)塊大小的實(shí)現(xiàn)方法。小編覺(jué)得挺不錯(cuò)的,現(xiàn)在就分享給大家,也給大家做個(gè)參考。一起跟隨小編過(guò)來(lái)看看吧
    2016-11-11

最新評(píng)論