LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

findmnt

query and verify mounted filesystems

TLDR

List all mounted filesystems
$ findmnt
copy
Search by device
$ findmnt /dev/sdb1
copy
Search by mountpoint
$ findmnt /
copy
Filter by type
$ findmnt -t ext4,btrfs
copy
Show disk usage like df
$ findmnt -D
copy
Find by label
$ findmnt LABEL=BigStorage
copy
Output as JSON
$ findmnt --json
copy
Verify fstab
$ findmnt -x --verbose
copy

SYNOPSIS

findmnt [OPTIONS] [device|mountpoint]

DESCRIPTION

findmnt lists all mounted filesystems or searches for a filesystem by device, mountpoint, label, or UUID. It can also verify the mount table and fstab configuration for errors.

PARAMETERS

-t, --types list

Limit output to filesystems of specified types
-o, --output list
Define output columns
-l, --list
Use list output format
-D, --df
Imitate df output (show space usage)
-x, --verify
Verify mount table content
-n, --noheadings
Don't print column headings
-r, --raw
Use raw output format
-J, --json
Use JSON output format
-f, --first-only
Print the first matching filesystem only
-s, --fstab
Search in /etc/fstab instead of /proc/self/mountinfo
-S, --source spec
Explicitly define the mount source (device, LABEL=, UUID=, etc.)
-M, --mountpoint path
Explicitly define the mountpoint file or directory
-T, --target path
Find the filesystem for the given path (any file or directory)
-p, --poll[=list]
Monitor changes in /proc/self/mountinfo (actions: mount, umount, remount, move)
-R, --submounts
Print recursively all submounts for the selected filesystems
LABEL=label
Search by filesystem label
UUID=uuid
Search by filesystem UUID

CAVEATS

The verify option checks for configuration errors but does not mount anything. Output format may vary between systems and kernel versions.

HISTORY

findmnt is part of the util-linux package, providing mount information querying on Linux systems.

SEE ALSO

mount(8), umount(8), df(1), lsblk(8), blkid(8), mountpoint(1)

Copied to clipboard
Kai