Abstract
This paper describes the design and implementation of MINIX file system for an embedded OS in technical details, including an overview of MINIX FS, an introduction of the data structures for it, key techniques of implementing it, such as cache, foundational routines and interface functions. The file system is implemented on the multi-process micro-kernel embedded operating system on ARM, which is also designed by the author of this paper with GNU tool chain. The essential functions for a MINIX FS are accomplished, e.g. mount (), open (), close (), read (), write (), lseek (), unlink (), stat (), chdir (), mkdir (), rmdir (), execve (), etc. To show the effects of the file system, some related shell commands are also designed, e.g. cat, cp, echo, ls, pwd, etc. The file system is designed as simple as possible so that the code amount of it is only about 1,600 lines. With such a small scale, the system is suitable not only for embedded application system developments but also for embedded related curriculum teaching in colleges and universities.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.