fhefh
 

什么是inode number

当一个分区被格式化为ext2ext3的文件系统的时候,会自动产生inode number

inode number可以决定在这个分区中存储多少文件或目录,因为每个文件和目录都会有与之相对应的inode number

什么是inode table

每个inode number都有对应的inode table

inode table记录这个inode number对应文件所对应的metadata(元数据)。

metadata的主要作用是描述资料的属性:

其中的“pointer”,记录了这个文件占用了哪几个block

当你存储一个文件之前,Linux系统会找到文件所对应的inode number。然后根据这个文件的inode number读取到相对应的inode table。由inode table中的“pointer”可以知道文件存放在哪几个block才能存储这个文件。

分类:

技术点:

相关文章:

  • 2021-06-24
  • 2022-12-23
  • 2021-10-19
  • 2021-07-30
  • 2022-02-11
  • 2021-09-21
  • 2021-12-10
猜你喜欢
  • 2021-11-01
  • 2021-12-25
  • 2021-09-12
  • 2021-07-30
  • 2022-12-23
  • 2021-12-03
  • 2022-12-23
相关资源
相似解决方案