Unix 계열은 모든 것이 파일 (device, directory 등등)
completely all byte and it has meta is main + Ext2 file system
EXt2
- first block is boot block (boot sector)
- the remainder of the partition is split into block groups
partition → formatting → make file system
meta data (in right table)
in i-node data structure
i-node : metadata + index index is 128 byte fixed in linux
index data structure is important
block address scheme
direct blocks is right image
block is 10 so can 10k
if more than 10 then double or triple indirect
which means treating data block as index block
this is because file incoding limit file size
10 + 256 + 256 ^ 2 + ..