请输入您要查询的百科知识:

 

词条 Draft:Superblock (file systems)
释义

  1. Ext4

  2. FAT32

  3. References

{{AFC submission|d|n|u=2601:2C2:C480:3FAD:2195:F9D2:8F8B:8696|ns=118|decliner=K.e.coffman|declinets=20190312030918|reject=yes|ts=20190216220351}} {{AFC comment|1=Does not meet NSOFT. K.e.coffman (talk) 03:09, 12 March 2019 (UTC)}}

A superblock is a special block on the disk that contains metadata on the filesystem. The metadata stored in the superblock varies between filesystems but generally includes the total size of the filesystem, the size of a block, and the number of sectors stored on the disk..[1][2]

Ext4

In the Ext4 filesystem the superblock notably keeps track of the following: [2]

  • Total inode count
  • Total block count
  • Free block count
  • Free inode count
  • Filesystem state
  • Operating system that created the filesystem

Ext4 also supports the storage of redundant copies of the superblock to help with data recovery in case one of the superblocks should become corrupted.

FAT32

In the FAT32 filesystem the Boot Sector is the equivalent of the Unix superblock. It contains the following information: [1]

  • bytes per sector
  • number of reserved sectors
  • Media descriptor type (e.g. Floppy disk, Hard Drive)
  • Number of hidden sectors

References

1. ^{{Cite web|url=https://www.win.tue.nl/~aeb/linux/fs/fat/fat-1.html|title=The FAT filesystem: FAT|website=www.win.tue.nl|access-date=2019-02-01}}
2. ^{{Cite web|url=https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#The_Super_Block|title=Ext4 Disk Layout - Ext4|website=ext4.wiki.kernel.org|access-date=2019-02-01}}
随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/24 7:14:29