VFS File System Structure Analysis and vfs System Structure Analysis
This article was originally published by fireaxe and can be freely copied and reproduced using GPL. However, for reprinting, please maintain the integrity of the document and
This article was originally published by fireaxe and can be freely copied and reproduced using GPL. However, for reprinting, please maintain the integrity of the document and indicate the original author and original link. The content can be used at
VFS File System Structure Analysis
This article was originally published by fireaxe and can be freely copied and reproduced using GPL. However, for reprinting, please maintain the integrity of the document and indicate the original author and
Article Title: Resolve the VFS file system mechanism in Linux (I ). Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open
1. Generic file modelLinux The kernel supports loading different file system types, and different file systems have their own way of managing files. The standard file system in Linux is the Ext file System family, and of course, developers cannot
This article describes the file system in Linux. The source code is from the IA32-based 2.4.20 kernel. In general, the file system in Linux can be divided into three main parts: one is the system call of the Upper-layer file system, and the other is
Virtual File System (VFS), Virtual File System (vfs)
Link: http://www.orlion.ga/1008/
Linux creates an abstraction layer on top of different file systems, making concepts such as files, directories, and read/write access an abstraction layer. This
Currently, in addition to Linux standard file system EXT2/EXT3/EXT4, there are many kinds of file systems, such as ReiserFS, XFS, Windows VFAT NTFS, Network File system NFS and Flash file system JFFS2, yaffs/ YAFFS2 ubifs. Linux provides perfect
Figure 1. Architecture of Linux File system componentsThe user space contains applications (for example, the users of the file system) and the GNU C Library (GLIBC), which provide a user interface for file system calls (open, read, write, and close).
Virtual file system, an alias virtual file system switch, is a software layer in Linux that provides a file system operation interface to user space.The system calls that the VFS contains include open (2), stat (2), read (2), write (2), chmod (2),
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.