VFS (Virtual File System) is an abstract
layer in the OS. It provides the common File System interface for the user
programs and kernel IO operations. The physical file system such as ext2, logic
volume, FAT32’ s detailed
implementation is hidden by the VFS.
The VFS in OS is shown as below:
This diagram illustrates how a user IO
function – write works in OS
The VFS have four major data structure:
Superblock : this data contains the file system control information.
Inode: file’s meta information.
Directory: file name and path information
File: opening file and the active information with the process.
No comments:
Post a Comment