Design and Implementation of embedded file system

Author
PanGuangZuo
Advisor
XiongGuangZe
School
University of Electronic Science and Technology
Major
Computer Applications
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2003
Downloads
628
Citations
35

Request the full text

Abstract

With the development of embedded technology , the decline in the price of the hardware , the rapid increase in the storage capacity of the embedded systems , applications need to manage increasingly complex data resources , and therefore the importance of the embedded file system even more prominent . And ordinary file system , embedded file system built on top of the real-time system kernel , and its design is not only required to meet the various requirements of data storage , to join due to file system but also to minimize the negative impact of the performance of the entire system . This requires that the basis of study of real - time system kernel and file system , and explore both the coupling mechanism and the point of integration . This is mainly reflected in the real-time response , portability , can be cut and can be configured such . Embedded file system CEFS is based on real-time embedded operating system kernel CRTOSII using the IMFS and FAT bitmap file system format . CEFS file system is divided into three implementation level , from the bottom up : device drivers , cache management , and file system nuclear , and provide the user interface based on the POSIX file system API . In order to make the system transparent support for different file system , various file system operations and management will be incorporated into a unified interface . The core implementation of the file system is divided into two levels: a virtual file system and IMFS, FAT file system . Virtual file system will have a variety of different file systems operation and management into a unified framework , that is , the same set of system calls that operate on a variety of different file systems . This provides a unified , abstract , virtual file system interface to the user program . The IMFS file system is based on a UNIX-like file system memory ; FAT file system based on flash memory . This paper discussed in detail the main characteristics of the CEFS embedded system architecture , and its overall design and specific Implement Technology .

Table of contents

Abstract 4-5 ABSTRACT 5-9 Chapter 1 Introduction 9-15 1.1 embedded real-time file system overview 9-12 1.1.1 Overview of embedded real-time systems 9 1.1.2 Embedded File System 9-12 1.1.2.1 File System Overview 9-11 1.1.2.2 embedded file system functions and features 11-12 1.2 topics topics in accordance with the sources and 12 1.3 Pop Embedded File System Overview 12-13 1.4 This paper is organized 13-15 Chapter embedded file system structure design technology 15-28 2.1 embedded file system architecture 15-18 2.1.1 Vxworks architecture 15 2.1.2 DeltaOS file system architecture 15-16 2.1.3 HOPEN file system architecture 16-17 2.1.4 embedded file system architecture 17-18 2.2 file storage allocation 18-21 2.2.1 Continuous distribution 19 2.2.2 Connection Table assigned 19-20 2.2.3 connection table using an index allocation 20 2.2.4 Ⅰ - node 20-21 2.3 directory realization 21-23 2.3.1 CP / M in the catalog 21-22 2.3.2 MS-DOS directory in 22 2.3.3 UNIX directory in 22-23 2.4 Disk space management 23-25 ?? 2.4.1 Block Size 24-25 2.4.2 recording free block 25 2.5 file system performance 25-26 2.6 protection mechanisms 26-28 2.6.1 Protection Domain 26-27 2.6.2 Access Control List 27 < br /> 2.6.3 permissions 27-28 Chapter block device driver 28-39 3.1 block device drivers overview 28-29 < br /> 3.2 RAM disk 29-30 3.2.1 RAM disk function 29 3.2.2 RAM disk hardware and software 29-30 <br / > 3.2.3 CEFS file system RAM disk driver 30 3.3 disk 30-34 3.3.1 disk hardware 30-31 <br / > 3.3.2 Disk Software 31-34 3.3.2.1 Disk arm scheduling algorithm 32-33 3.3.2.2 Error handling 33-34 <br / > 3.4 flash memory FLASHMEMORY 34-39 3.4.1 FlashMemory features 34-35 3.4.2 FlashMemory technical classification 35-36 3.4.3 FlashMemory Driver Overview 36-37 3.4.4 CEFS DOC file system driver 37-39 3.4.4.1 DOC (Disk On Chip ) and DOM (Disk On Module) 37-38 3.4.4.2 DOC driver 38-39 Chapter cache management 39-50 < br /> 4.1 cache overview 39 4.2 page replacement algorithm 39-43 4.2.1 optimal page replacement algorithm 39-40 4.2.2 not recently used page replacement algorithm 40-41 4.2.3 FIFO page replacement algorithm 41 4.2.4 second chance page replacement algorithm 41-42 4.2.5 clock page replacement algorithm 42-43 4.2.6 The most-recently-used page replacement algorithm 43 4.3 Cache Management The basic idea 43-45 4.4 CEFS file system cache manager 45-50 4.4.1 main data structure 45-46 4.4. two main algorithm description 46-50 4.4.2.1 get_buffer 46-47 4.4.2.2 release_buffer 47 4.4.2.3 flushall 47-48 4.4.2.4 rm_lru 48 4.4.2.5 init_buf 48-50 Chapter CEFS file system implementation 50 - 74 5.1 CEFS file system architecture 50-51 5.2 file system kernel architecture 51 5.3 CEFS virtual file system 51-59 < br /> 5.3.1 main data structure 53-57 5.3.2 directory and path 57-58 5.3.3 file system installation 58 - 59 5.3.4 File system initialization 59 5.3.5 virtual file system to a specific format of the file system conversion 59 5.4 IMFS (IN MEMORY FILESYSTEM) file System 59-63 5.4.1 IMFS node structure 60-61 5.4.2 System Operation 61 5.4.3 File Operations 61-62 5.4.4 directory operations 62 5.4.5 Call Example 62-63 5.5 FAT file system 63 - 74 5.5.1 FAT main data structure 64-66 5.5.1.1 BIOS boot sector parameter table (BPB) 64 5.5.1.2 File Allocation Table 64-65 5.5.1.3 File Directory 65-66 5.5.2 FAT file system format management 66-68 5.5.2.1 FAT file space allocation 66 5.5.2.2 cluster size 66-67 5.5.2.3 clusters Find 67 5.5.2.4 cluster allocation 67 5.5.2.5 release clusters 67-68 5.5.2.6 How to find the file directory and its subdirectories table 68 5.5.2.7 document literacy 68 5.5.3 FAT files, directories, and I-node 68-69 5.5.4 FAT allocation table, directory entry buffer 69 5.5.5 System Operation 69-70 5.5.6 File Operations 70 5.5.7 directory operations 70 - 71 5.5.8 Call Example 71-74 Chapter CEFS file system testing and validation introduce 74-76 Chapter VII summarizes 76 -78 6.1 implementation status and results 76 6.2 features and technological innovation to achieve 76 6.3 insufficient and Prospects 76-78 References 78-79 Thanks 79-80

Related dissertations

  1. uITRON its platform file system implementation
  2. The Design and Practice of Embedded Linux File System
    WuZuo ·Suzhou University ·2003 ·Master's thesis
  3. Embedded Linux File System Construction
  4. The Improvement and Implementation of High-Powered Linux File System Based on Larger Flash Stroage
    ChenYiFei ·Tongji University ·2007 ·Master's thesis
  5. Linux file system application
    LiTianYou ·Zhejiang University ·2006 ·Master's thesis
  6. File system and disk management implementation mechanism in-depth study
  7. Personal cloud storage technology research
  8. Terminal design of fault diagnosis system of intelligent equipment under a cloud service environment
  9. Implementation of Windows File System Virtualization Based on Sandbox Technology
  10. Design and Implementation of Cross-platform Website Anti-tamper System Based on File Filter Driver
    LinYiXin ·South China University of Technology ·2013 ·Master's thesis
  11. Research on Multi-attribute-based File Organization Mechanism
  12. The Design and Implementation of Distributed File System Based on Linux
  13. The Linux Kernel Porting, Profiling Driven Development and Cryptographic Applications Based on CK810
  14. Research on the Malicious Codes Monitoring Technology Based on the File System
    SunHaiPeng ·Northwest Normal University ·2013 ·Master's thesis
  15. Research Andapplication of FAT File System for Multimedia Storage
  16. Research on Storage System Experimental Datasets Construction Method
  17. The Design and Implementation of a De-duplication File System Based on Cloud Storage
  18. Design and Implementation of a PCM File System
  19. Research of Data Storage and Management on Huatu Online Library System Based on HDFS
    YangCan ·Central South University ·2013 ·Master's thesis
  20. The Design and Implementation of File System Based on PaaS Cloud Storage Service
    ChangCheng ·Hunan University ·2013 ·Master's thesis