基于C语言实现的虚拟Ext文件系统  

Realization of an Extended File System Written in C Programming Language

在线阅读下载全文

作  者:郭继红[1] GUO Jihong(Department of Electrical Engineering,Jiyuan Vocational and Technical College,Jiyuan 490000,China)

机构地区:[1]济源职业技术学院电气工程系

出  处:《新乡学院学报》2019年第9期38-40,49,共4页Journal of Xinxiang University

摘  要:基于C语言实现了一个简化的模拟Ext文件系统。该系统以一个大文件模拟磁盘,按照索引分配的方式将其划分为超级块区、索引节点区和数据块区,系统底层通过读写该文件实现数据的存储,顶层通过命令行与用户交互。系统支持pwd、cd和ls等命令,突出了文件系统的索引分配方式、位图记录信息等关键概念,解决了成熟的文件系统结构复杂、代码晦涩、不易理解等问题。A simulated extended file system written in C programming language was realized.The file system highlighted the key concepts of file system and solved the problem that file systems were too complicated and hard for students to understand.Specifically, a file was used to simulate the disk and divide it into three parts: superblock, inode block and data block according to index allocation method.The file system was based on the reading and writing function provided by file stream and finally able to interact with the user.It supported the commands like pwd, cd and ls.

关 键 词:C语言 EXT 文件系统 虚拟文件系统 

分 类 号:TP31[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象