Filter out file system
To get the output of specific file systems types, we can use -t or –types option with findmnt command. To filter multiple file systems, mention file system type separated by comma.
findmnt -t ext4
Findmnt – Find all mounted filesystems on Linux
Findmnt is a command-line tool in Linux which lists the all-mounted file system on the system. findmnt searches for the mounted file in t/etc/fstab, /etc/mtab, or /proc/self/mountinf locations. By default, it shows all mounted file systems on the system. This command is preinstalled on the system. This command comes with package util-Linux. Now let see how to use the findmnt tool.