Montag, 7. Juni 2010

Ext2 group descriptor : bg_block_bitmap and bg_inode_bitmap

Ext2 group descriptor : bg_block_bitmap and bg_inode_bitmap

1.bg_block_bitmap : The block to which bg_block_bitmap refers is not used to store data.

Each of its bits stands for a data block of the current block group. It a bit is set, the block is being used by the filesystem; otherwise, the block is available.

Because the position as which the first data block is located is known and ALL data blocks are in linear sequence, it is easy for the kernel to convert between bit positions in the block bitmap and the associated block positions.

2.bg_inode_bitmap : it points to a lock whose individual bits are used to describe ALL inodes of a block group. Because it is also known in which blocks the inode structures are located and how big the inode structure is, the kernel can convert between the bitmap entries and the associated positions on the hard disk.

o靚界民主女神人紅自然多人爭,瞓身五區公投運動嘅周澄, 喺新界東一鳴驚人,身為選舉新丁嘅佢首度參選就攞到萬七票,成為落選候選人中最高票嘅票后。


Keine Kommentare: