Unix File System

Creator
Created
Created
2019 Nov 5 5:17
Editor
Edited
Edited
2021 Jun 7 8:59
Refs
Refs
INode

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
 
notion image

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
notion image
notion image
block address scheme
notion image
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 + ..
 
 

 

Recommendations