Research and Implementation of Embedded Linux file system

Author
PengXiaoZuo
Advisor
LuoKeLu
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2007
Downloads
610
Citations
14

Request the full text

Abstract

With the rapid development of embedded systems, embedded Linux has also been widely used. Linux kernel is lean and efficient, and has a very good network performance, and supports a variety of architectures. More importantly, Linux from UNIX, has many well-trained developers and development resources. These are Linux in the embedded field the rapid development of the important reasons. Linux file system, compared to other operating systems, file systems, there are two main characteristics, in order to support a variety of different file system introduced the VFS; various file systems can easily mount Linux file The system trees or unloaded from the file system tree. VFS is the basis of the various file systems under Linux, all file systems are based on the VFS on. So understand the VFS mechanism as well as how to add support for new file system based on the VFS mechanism, are of great significance for our in-depth understanding of Linux and its file system, for us to construct suitable to meet the requirements of embedded Linux system. From the moment, most of the research at home and abroad for the Linux file system are some typical applications for file system, very few studies for the Linux file system the basic mechanisms VFS, the VFS design principles, and how to use VFS mechanism to support for the new file system. In this paper, using the theory and practice ideas from the Linux file system foundation to build a mechanism VFS began to study the architecture of the Linux file system VFS file system model, and VFS file model object, and based on the VFS and other kernel mechanism analysis and research findings, to consider how the VFS mechanism to support the new file system. Then, to a file the system NEFS the design as an example, analysis of the issues to be considered in the general file system design introduced NEFS file system design process, as well as the improvements made for some of the features of the embedded system, so as to improve The efficiency of the visit, the purpose of saving the overhead. By writing NEFS file system driver and the actual verification of embedded Linux system. Finally, on this basis, the three typical file system from Linux support - a disk-based file system, network file system, the file system in each select a representative to study them in the embedded Linux system Typical applications build process.

Table of contents

Summary 4-5 Abstract 5-11 first chapter 11-18 1.1 subject background and significance -12 1.2 embedded file system 12-14 1.2.1 embedded operating system 13-14 the 1.2.2 embedded systems, file systems 14 1.3 embedded Linux file system 14-16 content of 1.4 thesis 16 1.5 thesis chapters arranged 16 -18 Chapter II Virtual File System (VFS) technology the 18-59 2.1 file system and file system architecture 18-21 2.1.1 file file system's basic concept 18 2.1.2 file system architecture 18-20 2.1.3 file system I / O processing flow 20-21 2.2 Linux file system architecture 21-24 2.2.1 Linux file system concept 21-23 2.2.2 Linux file system architecture 23-24 2.3 Virtual File System VFS the 24-37 2.3.1 VFS Overview 24-25 2.3.2 VFS file system tree the 25-27 2.3.3 UNIX-style file system 27-28 2.3.4 VFS various objects in the general-purpose file system model 28-30 2.3.5 VFS application interface 30-33 2.3.6 VFS specific file system interface 33-35 2.3.7 file system loading and unloading the 35-36 2.3.8 Linux file system buffering mechanism 36-37 build 2.4 VFS-based file system technology 37-58 2.4.1 file system type registered 37-40 2.4.2 from the virtual file system to a specific file system 40-49 2.4.3 file drive the program cache 49-53 2.4.4 file system to manage the physical storage layout 53-57 driver 2.4.5 file and block device drivers 57-58 2.5 Chapter Summary 58-59 Chapter VFS based file system build technology research and 59-87 3.1 file system of design 59-64 3.1.1 files realization 59-61 3.1.2 directory to achieve 61-62 3.1.3 disk space management the 62-63 3.1.4 file system performance 63 3.1.5 protection mechanisms 63-64 3.2 NEFS file system Design 64-72 physical layout design of 3.2.1 NEFS file system the 64-67 3.2.2 NEFS, file system data structure 67-70 < br /> 3.2.3 NEFS format file system management 70-72 3.3 NEFS file system driver design 72-77 3.4 build Linux kernel NEFS file system support 77-81 3.4.1 NEFS file system data structure defined 77-78 3.4.2 modify the kernel configuration, support NEFS 78-80 < br /> 3.4.3 configure and compile the kernel the file systems test verifies nbsp 80-81 3.5 NEFS; 81-86 3.5.1 Production INITRD, to contain NEFS disk image 81-83 3.5.2 the load NEFS disk image to the VFS 83 3.5.3 back then equipment 83-85 3.5.4 test and analysis results the 85-86 3.5.5 Conclusion 86 3.6 Chapter Summary 86-87 Chapter other embedded Linux file system construction technology 87-107 4.1 embedded Linux root file system 87-100 the 4.1.1 root file system build 87-95 4.1.2 INITRD build the root file system are found; 95-100 4.2 using NFS to debug the root file system and applications are found; 100-102 4.3 / proc file system 102-104 4.3.1 the / proc file system overview 102 4.3.2 / proc file system in the development of embedded Linux applications 102-103 <br / 4.3.3 Using / proc help debugging drivers 103-104 4.4 embedded file system 104-106 4.5 Summary 106-107 the fifth chapter Conclusion 107-109 5.1 thesis work summarizes 107-108 5.2 experiences 108 5.3 next job 108-109 the Ref. 109-112 Acknowledgements 112-113 personal resume and Master during the the papers 113 - 114

Related dissertations

  1. The Research and Design of Embedded Mobile Image Monitoring System Based on ARM
    YangMingJun ·Hubei University of Technology ·2013 ·Master's thesis
  2. Design and Implementation of Network Video Monitoring and Alarm System Based on Embedded Linux
    LiJiaJia ·Northwest Normal University ·2013 ·Master's thesis
  3. Design and Implementation of Terminal for Snowflakes Beef Carcass Quality Measurement System Based on Embedded and Machine Vision
    LiuChaoChao ·Nanjing Agricultural College ·2011 ·Master's thesis
  4. Research and Design of Harmonic Detecting Device Based on ARM9
  5. The Design and Application of Network Measurement and Control Platform Based on Embedded WEB Service
    SunWei ·Hebei University of Technology ·2013 ·Master's thesis
  6. Development of Small Smart Controller Software Technology Based on ARM9
    HuShu ·Hebei University of Technology ·2013 ·Master's thesis
  7. Design of the Paper Quality Control System Based on Industrial Ethernet
    LiQiZuo ·Chongqing University ·2013 ·Master's thesis
  8. The Research of Embeded Intelligent Household Based on ARM
    WangWenChuan ·Hefei University of Technology ·2013 ·Master's thesis
  9. Research on Intelligent Home Furnishing system based on Android
  10. Research and Development of Intelligent Board Based on Multi-sensor Fusion
    WangBaiCai ·Northeastern University ·2013 ·Master's thesis
  11. Design and Implementaiton of a Human-computer Interaction System Train Monitoirng Device
    LuoJing ·Hunan University ·2013 ·Master's thesis
  12. Human-Computer Interaction Technology Research of Gene Amplification Based on Arm
    LiuJun ·Qingdao Technological University ·2013 ·Master's thesis
  13. Design and Implementation of Chinese Handwritten Input Method Based on ARM9and Qt
    WangZhiChao ·Central South University ·2013 ·Master's thesis
  14. The Design and Implementation of Electronic License Plate Recognition System Based on Embedded Linux
    ChenWei ·Ningbo University ·2013 ·Master's thesis
  15. The Research and Design of Embedded Linux Based on ST-E9500
  16. Research of Embedded Linux Device Drivers Concurrency Control
    ZhangJiHong ·Chang'an University ·2013 ·Master's thesis
  17. Research and design of Beidou navigation terminal based on ARM+FPGA
  18. Designing and implement of terminal display and control of radar based on Embedded System
  19. The Design of Embedded Video Monitoring Terminal Based on3G Technology
    WuXiaoYun ·Northeastern University ·2012 ·Master's thesis
  20. Network Video System Design and Research Based on Davinci Architecture
    WeiLiZuo ·Tianjin University ·2012 ·Master's thesis