Working with VFS Objects

The data structures described above act as a basis for working with the VFS layer. We examine this layer in the following sections. Let us first focus on mounting and unmounting filesystems (and filesystem

12More auxiliary functions are defined in <dentry.h> and implemented in fs/dcache.c. Since they are not so frequently used, I will not discuss them here, but refer to the documentation associated with them for more information.

registration, which is a prerequisite for these actions). I then introduce the most important and most interesting functions involving files and all other objects represented via the same interfaces.

We start with the system calls used by the standard library to communicate with the kernel.

Continue reading here: Filesystem Operations

Was this article helpful?

0 0