1673-159X

CN 51-1686/N

EXT2文件系统格式化程序的设计与实现

Design and Implementation of EXT2 File System Maker

  • 摘要: 从编程开发的角度描述了EXT2文件系统的概念和关键的数据结构, 如块组、超级块、组描述符、块位图、i节点位图、i节点、数据块和root目录等。以对1.44MB磁盘进行格式化的程序为例, 详细分析了基于Linux的EXT2文件系统格式化程序的设计方法和实现细节。列出的磁盘格式化程序已在基于Intel Pentium Ⅳ的Ubun-tu10.04 Linux计算机上调试通过。经测试, 使用该程序格式化的磁盘可在支持EXT2的各操作系统上正常使用。

     

    Abstract: This paper describes the concepts and technology of EXT2 file system from a developer's view, such as superblock, group descriptors, block bitmap of the group, i node bitmap of the group, i nodes of the group, data blocks of the group and root directory etc.Taking a file system maker for 1.44MB floppy disk as an example, the design and implementation of a Linux based EXT2 file system maker is discussed.The floppy disk formatting program is successfully implemented on an Ubuntu10.04 Linux PC based on Intel Pentium Ⅳ CPU, the formatted floppy disks can be used on operating systems that support EXT2.

     

/

返回文章
返回