It is clear that VFS provides programs to access different file systems with same interfaces. Meanwhile, FHS is standard for directory structure.
I would like to have some inputs regarding them because I am not very clear of how they work together.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
VFS is the virtual filesystem interface, it has been introduced by Sun with SunOS-3 in 1985. It describes the interface between a filesystem implementation and the rest of the kernel. The functions covered by VFS are e.g. open(), read() write() readdir().
FHS is a filesystem hierarchy standard and the filesystem hierarchy standard that is used by Linux that was derived from the FHS introduced by Sun for SunOS-4 in 1987.
In other words: VFS allows filesystems to be integrated into the driver structure while FHS just describes how to put files in the system directories.
In other words: there is no relation between both.