What does it mean to mount a file system in linux?

A better way to describe “mount” is “attach”.

The filesystem being mounted is attached to an empty directory of the existing filesystem. That is, the top level directory of the mounted filesystem becomes the directory on the existing filesystem.

Subdirectories of the mounted filesystem become the subdirectories of the former directory on the existing filesystem, and so on.

(The directory that was mounted on doesn’t really have to be empty, but after mounting any contents it had are inaccessible, until the filesystem is unmounted).

Leave a Comment