摘要
Linux由于其源代码的开放性而得到越来越广泛的认同,针对其文件系统的编程成为其中最普遍最核心的应用。通过分析Linux文件系统源代码,给出了EXT2文件系统的硬盘布局,详细论述了超级块、组描述符、I节点、目录结构等与EXT2文件系统相关的数据结构,着重分析这些结构中的核心数据项以及它们之间的关系,并从编程的角度归纳了这些结构在文件系统中的作用。
Linux has gained more and more widespread acceptances for its open source code. The programming for the file system of Linux becomes the most popular and the most critical applications. By the analysis of the source code of Linux's file system, not only the layout of the hard disk in the EXT2 file system but also the data structures related to EXT2 file system such as supper block, group descriptors, inode and directory structure detailed are described. At the same time, the elemental data items and their relations in the data structures are emphatically analyzed and how to use the structures in the file system from theview-pointof programming is generalized.
出处
《计算机工程与设计》
CSCD
北大核心
2005年第4期1022-1024,共3页
Computer Engineering and Design