21. JANUAR 2019
Menu
What is the difference between inode bitmap and inode table?
Quelle: https://stackoverflow.com/questions/22580855/what-is-the-diffrence-inode-bitmap-and-inode-table
The bitmap just occupies one block and is a sequence of 0s and 1s where 0 means that the corresponding inode in the inode_table is free and 1 specified that it's used.
The inode table is where the actual information about the inode is written and it occupies more than one block on the filesystem.
The bitmap technique is useful to quickly find free locations on the inode table (or data blocks) when modifying the filesystem.
On the hard drive, those sections would look like this:
inode bitmap: 11100011010010101... inode table: struct inode | struct inode | struct inode | struct inode | ...
Keywords: linux, ext2, ext3, ext4
Dokumenten-ID: kb/e55f94e7-f0d2-4b94-a3de-0f1293d49e95