What Is Mtab in Linux?
Contents

What is the difference between MTAB and fstab?

/etc/fstab is a created by the user. It contains list of volumes to be mounted by mount . /etc/mtab is a created by the system. It contains a list of currently mounted devices.

What is the use of MTAB directory?

4 Answers. mtab lists currently mounted file systems and is used by the mount and unmount commands when you want to list your mounts or unmount all. It’s not used by the kernel, which maintains its own list (in /proc/mounts or /proc/self/mounts ). Its structure is the same as fstab (see manpage).

Maya Lin-Takahashi

Maya Lin-Takahashi

Consumer Tech & Gadget Reviewer

Maya is a hardware enthusiast who tests and reviews smart home devices, smartphones, wearables, and audio gear. She focuses on practical consumer value and build quality.

Share this article
Twitter Facebook Pinterest