首页 » 系统相关 » 查看操作系统块大小

查看操作系统块大小

red hat 5 el    linux:

[root@orazhang ~]# tune2fs
tune2fs 1.39 (29-May-2006)
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@orazhang ~]# df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/sda7             49594196  40280688   6753552  86% /
/dev/sda6               101086     12282     83585  13% /boot
tmpfs                   965812         0    965812   0% /dev/shm
/dev/sda9             30755832   1675864  27517652   6% /soft
/dev/hda               4139170   4139170         0 100% /var/smb/cdrom

[root@orazhang ~]# tune2fs -l /dev/sda9|grep Block
Block count:              7811598
Block size:               4096
Blocks per group:         32768

4096块大小,

windows xp:

c:>fsutil fsinfo ntfsinfo c:

NTFS 卷序列号 :       0x7404624004620608

版本 :                         3.1

区数量 :                  0x0000000003b856ad

簇总数 :                  0x0000000000770ad5

可用簇  :                  0x000000000059dc7d

保留总数 :                  0x0000000000000000

每个扇区字节数  :               512

每个簇字节数 :               4096

每个 FileRecord 段的字节数    : 1024

每个 FileRecord 段的簇数 : 0

Mft 有效数据长度 :           0x0000000002ac8000

Mft 起始 Lcn  :                  0x00000000000c0000

Mft2 起始 Lcn :                  0x00000000003b856a

Mft 区域起始 :                  0x00000000000c2ac0

Mft 区域结尾   :                  0x00000000001ae160

族大小就是

HPUX OS:

block大小默认为1K
/usr/include/sys/param.h 文件里有个DEV_BSIZE

Solaris:

用命令fstyp,测试如下:

bash-2.05# fstyp -v /dev/rdsk/c0t2d0s0 |more
ufs
magic   11954   format  dynamic time    Mon Nov  4 17:46:05 2002
sblkno  16      cblkno  24      iblkno  28      dblkno  408
sbsize  2048    cgsize  4096    cgoffset 160    cgmask  0xfffffff0
ncg     697     size    17827200        blocks  17553949
bsize   4096    shift   12      mask    0xfffff000
fsize   1024    shift   10      mask    0xfffffc00
frag    4       shift   2       fsbtodb 1
minfree 1%      maxbpg  1024    optim   time
maxcontig 256   rotdelay 0ms    rps     120
csaddr  408     cssize  11264   shift   8       mask    0xffffff00
ntrak   10      nsect   320     spc     3200    ncyl    11142
cpg     16      bpg     6400    fpg     25600   ipg     3040
nindir  1024    inopb   32      nspf    2
nbfree  4388485 ndir    2       nifree  2118876 nffree  4
cgrotor 0       fmod    0       ronly   0       logbno  0
上面sbsize即为块大小。

打赏

目前这篇文章有10条评论(Rss)评论关闭。

  1. LA Weight Loss | #1
    2011-12-02 at 00:32

    An newsworthy communication is worth annotate. I believe that you should create much on this content, it might not be a prejudice case but mostly grouping are not sufficiency to speak on specified topics. To the succeeding. Cheers like your 查看操作系统块大小 | ANBOB.

  2. LA Weight Loss | #2
    2011-12-01 at 22:51

    An absorbing speech is designer statement. I consider that you should create many on this matter, it strength not be a sacred soul but mostly fill are not sufficiency to mouth on such topics. To the next. Cheers like your 查看操作系统块大小 | ANBOB.

  3. LA Weight Loss | #3
    2011-11-28 at 19:48

    An gripping word is couturier interpret. I judge that you should compose much on this matter, it strength not be a bias bailiwick but generally fill are not enough to verbalise on much topics. To the succeeding. Cheers like your 查看操作系统块大小 | ANBOB.

  4. invest liberty reserve | #4
    2011-11-27 at 17:25

    An riveting word is designer interpret. I imagine that you should pen more on this content, it mightiness not be a taboo master but mostly people are not enough to utter on such topics. To the succeeding. Cheers like your 查看操作系统块大小 | ANBOB.

  5. private student loans | #5
    2010-12-12 at 14:20

    Valuable info. Lucky me I found your site by accident, I bookmarked it.

    • Xandy | #6
      2011-09-03 at 17:14

      Gee wlilikers, that’s such a great post!

      • Maverick | #7
        2011-11-12 at 01:41

        With all these silly wbesties, such a great page keeps my internet hope alive.