Filesystem Operations

Whereas file operations are part of the standard repertoire of all applications, actions on filesystems are restricted to just a few system programs, namely, the mount and umount programs13 for mounting and unmounting filesystems.

A further important aspect must also be taken into consideration. Filesystems are implemented in modular form in the kernel; this means that they can be compiled into the kernel as modules (see Chapter 7) or can be totally ignored by compiling the kernel without support for a particular filesystem version — given the fact that there are about 50 filesystems, it would make little sense to keep the code for all of them in the kernel.

Consequently, each filesystem must register with the kernel before it is used so that Linux has an overview of the available filesystems and can invoke the required mount functions.

Continue reading here: Registering Filesystems

Was this article helpful?

0 0