findmnt --version (return code: 0)
findmnt from util-linux 2.27.1
findmnt --help (return code: 0)
Usage:
findmnt [options]
findmnt [options] <device> | <mountpoint>
findmnt [options] <device> <mountpoint>
findmnt [options] [--source <device>] [--target <path> | --mountpoint <dir>]
Find a (mounted) filesystem.
Options:
-s, --fstab search in static table of filesystems
-m, --mtab search in table of mounted filesystems
-k, --kernel search in kernel table of mounted
filesystems (default)
-p, --poll[=<list>] monitor changes in table of mounted filesystems
-w, --timeout <num> upper limit in milliseconds that --poll will block
-A, --all disable all built-in filters, print all filesystems
-a, --ascii use ASCII chars for tree formatting
-b, --bytes print sizes in bytes rather than in human readable format
-C, --nocanonicalize don't canonicalize when comparing paths
-c, --canonicalize canonicalize printed paths
-D, --df imitate the output of df(1)
-d, --direction <word> direction of search, 'forward' or 'backward'
-e, --evaluate convert tags (LABEL,UUID,PARTUUID,PARTLABEL)
to device names
-F, --tab-file <path> alternative file for -s, -m or -k options
-f, --first-only print the first found filesystem only
-i, --invert invert the sense of matching
-J, --json use JSON output format
-l, --list use list format output
-N, --task <tid> use alternative namespace (/proc/<tid>/mountinfo file)
-n, --noheadings don't print column headings
-O, --options <list> limit the set of filesystems by mount options
-o, --output <list> the output columns to be shown
-P, --pairs use key="value" output format
-R, --submounts print all submounts for the matching filesystems
-r, --raw use raw output format
-S, --source <string> the device to mount (by name, maj:min,
LABEL=, UUID=, PARTUUID=, PARTLABEL=)
-T, --target <path> the path to the filesystem to use
-M, --mountpoint <dir> the mountpoint directory
-t, --types <list> limit the set of filesystems by FS types
-U, --uniq ignore filesystems with duplicate target
-u, --notruncate don't truncate text in columns
-v, --nofsroot don't print [/dir] for bind or btrfs mounts
-h, --help display this help and exit
-V, --version output version information and exit
Available columns:
SOURCE source device
TARGET mountpoint
FSTYPE filesystem type
OPTIONS all mount options
VFS-OPTIONS VFS specific mount options
FS-OPTIONS FS specific mount options
LABEL filesystem label
UUID filesystem UUID
PARTLABEL partition label
PARTUUID partition UUID
MAJ:MIN major:minor device number
ACTION action detected by --poll
OLD-TARGET old mountpoint saved by --poll
OLD-OPTIONS old mount options saved by --poll
SIZE filesystem size
AVAIL filesystem size available
USED filesystem size used
USE% filesystem use percentage
FSROOT filesystem root
TID task ID
ID mount ID
OPT-FIELDS optional mount fields
PROPAGATION VFS propagation flags
FREQ dump(8) period in days [fstab only]
PASSNO pass number on parallel fsck(8) [fstab only]
For more details see findmnt(8).