Journal of Computer Applications ›› 2014, Vol. 34 ›› Issue (2): 417-420.
• Data technology • Previous Articles Next Articles
WU Weimin,LIN Shuibin,JIANG Daqiang,LI Haiming,SU Qing
Received:
Revised:
Online:
Published:
Contact:
吴伟民,林水宾,江达强,黎海明,苏庆
通讯作者:
作者简介:
基金资助:
Abstract: In the available literatures, creating new files with New Technology File System (NTFS) that does not depend on calling Windows Application Program Interface (API) takes place in small directory. Therefore, a new technological realization of creating files in big directories was proposed in this paper. Firstly, it located the index buffer by traversaling the B+tree. Secondly, by judging whether the index buffer had an index node, it would put the created index entry into the specified location of index buffer respectively. Next, the index buffer inserted by the index was written to disk. Finally, it created new files in the big directories successfully. The experiments prove that the files can be created correctly in a large directory using the new creating technology.
Key words: New Technology File System (NTFS), big directory, B tree, index buffer, index node
摘要: 在已有文献中,由于不依赖Windows应用程序编程接口(API)调用的在新技术文件系统(NTFS)下的文件创建都是在小目录下实现的,因此将对在大目录下创建文件的方法进行研究。运用B+树遍历,找到索引缓冲区,通过判断所找的索引缓冲区是否存在索引节点,分别将创建好的索引项插入到指定的索引缓冲区位置,将插入索引项的索引缓冲区写入磁盘,完成在大目录下对文件的创建。通过实验,实现了在大目录下的文件创建,证明了方法在不依赖于Windows API而实现文件创建的正确性。
关键词: 新技术文件系统, 大目录, B 树, 索引缓冲区, 索引节点
CLC Number:
TP309.2
TP312
WU Weimin LIN Shuibin JIANG Daqiang LI Haiming SU Qing. Method of creating file based on big directory of NTFS[J]. Journal of Computer Applications, 2014, 34(2): 417-420.
吴伟民 林水宾 江达强 黎海明 苏庆. 基于NTFS大目录的文件创建方法[J]. 计算机应用, 2014, 34(2): 417-420.
0 / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: https://www.joca.cn/EN/
https://www.joca.cn/EN/Y2014/V34/I2/417