findmnt
TLDR
List all mounted filesystems
$ findmnt
Search by device$ findmnt /dev/sdb1
Search by mountpoint$ findmnt /
Filter by type$ findmnt -t ext4,btrfs
Find by label$ findmnt LABEL=BigStorage
Verify fstab$ findmnt -x --verbose
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 formatLABEL=label
Search by filesystem labelUUID=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.


