![]() │ ├─/sys/kernel/tracing tracefs tracefs rw,nosuid,nodev,noexec,relatime │ ├─/sys/kernel/debug debugfs debugfs rw,nosuid,nodev,noexec,relatime │ ├─/sys/fs/bpf bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 │ ├─/sys/firmware/efi/efivars efivarfs efivarfs rw,nosuid,nodev,noexec,relatime │ ├─/sys/fs/pstore pstore pstore rw,nosuid,nodev,noexec,relatime │ ├─/sys/fs/cgroup cgroup2 cgroup2 rw,nosuid,nodev,noexec,relatime │ ├─/sys/kernel/security securityfs securityfs rw,nosuid,nodev,noexec,relatime ├─/sys sysfs sysfs rw,nosuid,nodev,noexec,relatime dev/nvme0n1p2 ext4 rw,relatime,errors=remount-ro Sample output: TARGET SOURCE FSTYPE OPTIONS When you run findmnt command without any options, it will list all mounted filesystems in a tree-like format: $ findmnt Let us go ahead and see how to use findmnt command to find the mounted filesystems types in Linux. To install util-linux package in Debian-based systems using command: $ sudo apt install util-linux Just in case if findmnt command is not available in your system, simply install util-linux package as shown below The Findmnt command is the part of the util-linux package, which comes pre-installed in most Linux distributions. The findmnt command can be able to search in /etc/fstab, /etc/mtab or /proc/self/mountinfo. The findmnt command will list all mounted filesystems or search for a filesystem. ![]() The most commonly used command to determine the type of the underlying filesystem in Linux is Findmnt. ![]() Method 1 - Find Filesystem Type In Linux Using Findmnt
0 Comments
Leave a Reply. |