What are the primary functions of VFS?
Answers
A virtual file system (VFS) is programming that forms an interface between an operating system's kernel and a more concrete file system.
The VFS serves as an abstraction layer that gives applications access to different types of file systems and local and network storage devices. For that reason, a VFS may also be known as a virtual file system switch. It also manages the data storage and retrieval between the operating system and the storage sub-system. The VFS maintains a cache of directory lookups to enable easy location of frequently accessed directories.
Sun Microsystems introduced one of the first VFSes on Unix-like systems. The VMware Virtual Machine File System (VMFS), the Oracle Clustered File System (OCFS) are all examples of virtual file systems.
VFS, or Virtual File System, separates file system generic operations from their implementation by defining a clean VFS interface. It is also based on a file-representation structure known as vnode, which contains a numerical designator needed to support network file systems.