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...
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.
Must Read
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).