Listing the system in df format
To get the output in the form of df command like output format, use findmnt with option -D or –df. This option will show the output in the form of df format.
findmnt -D
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.