Overview of the Virtual Filesystem (VFS) component
masterThe Virtual Filesystem (VFS) component provides a unified interface for drivers that perform operations on file-like objects. This includes real filesystems (like FAT or SPIFFS) and device drivers that implement a file-like interface.
By using VFS, standard C library functions such as fopen and fprintf can interact with various FS drivers. Each driver is associated with a path prefix (mount point). When a file is opened via a path, the VFS component identifies the correct driver based on the prefix and forwards the call.