{
    "mode": "man",
    "parameter": "findmnt",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/findmnt/8/json",
    "generated": "2026-05-30T06:06:38Z",
    "synopsis": "findmnt [options]\nfindmnt [options] device|mountpoint\nfindmnt [options] [--source] device [--target path|--mountpoint mountpoint]",
    "sections": {
        "NAME": {
            "content": "findmnt - find a filesystem\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "findmnt [options]\n\nfindmnt [options] device|mountpoint\n\nfindmnt [options] [--source] device [--target path|--mountpoint mountpoint]\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "findmnt will list all mounted filesystems or search for a filesystem. The findmnt command is\nable to search in /etc/fstab, /etc/mtab or /proc/self/mountinfo. If device or mountpoint is\nnot given, all filesystems are shown.\n\nThe device may be specified by device name, major:minor numbers, filesystem label or UUID, or\npartition label or UUID. Note that findmnt follows mount(8) behavior where a device name may\nbe interpreted as a mountpoint (and vice versa) if the --target, --mountpoint or --source\noptions are not specified.\n\nThe command-line option --target accepts any file or directory and then findmnt displays the\nfilesystem for the given path.\n\nThe command prints all mounted filesystems in the tree-like format by default.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-A --all",
                    "content": "Disable all built-in filters and print all filesystems.\n",
                    "flag": "-A",
                    "long": "--all"
                },
                {
                    "name": "-a --ascii",
                    "content": "Use ascii characters for tree formatting.\n",
                    "flag": "-a",
                    "long": "--ascii"
                },
                {
                    "name": "-b --bytes",
                    "content": "Print the SIZE, USED and AVAIL columns in bytes rather than in a human-readable format.\n",
                    "flag": "-b",
                    "long": "--bytes"
                },
                {
                    "name": "-C --nocanonicalize",
                    "content": "Do not canonicalize paths at all. This option affects the comparing of paths and the\nevaluation of tags (LABEL, UUID, etc.).\n",
                    "flag": "-C",
                    "long": "--nocanonicalize"
                },
                {
                    "name": "-c --canonicalize",
                    "content": "Canonicalize all printed paths.\n",
                    "flag": "-c",
                    "long": "--canonicalize"
                },
                {
                    "name": "-D --df",
                    "content": "Imitate the output of df(1). This option is equivalent to -o\nSOURCE,FSTYPE,SIZE,USED,AVAIL,USE%,TARGET but excludes all pseudo filesystems. Use --all\nto print all filesystems.\n",
                    "flag": "-D",
                    "long": "--df"
                },
                {
                    "name": "-d --direction",
                    "content": "The search direction, either forward or backward.\n",
                    "flag": "-d",
                    "long": "--direction"
                },
                {
                    "name": "-e --evaluate",
                    "content": "Convert all tags (LABEL, UUID, PARTUUID or PARTLABEL) to the corresponding device names.\n",
                    "flag": "-e",
                    "long": "--evaluate"
                },
                {
                    "name": "-F --tab-file",
                    "content": "Search in an alternative file. If used with --fstab, --mtab or --kernel, then it\noverrides the default paths. If specified more than once, then tree-like output is\ndisabled (see the --list option).\n",
                    "flag": "-F",
                    "long": "--tab-file"
                },
                {
                    "name": "-f --first-only",
                    "content": "Print the first matching filesystem only.\n",
                    "flag": "-f",
                    "long": "--first-only"
                },
                {
                    "name": "-h --help",
                    "content": "Display help text and exit.\n",
                    "flag": "-h",
                    "long": "--help"
                },
                {
                    "name": "-i --invert",
                    "content": "Invert the sense of matching.\n",
                    "flag": "-i",
                    "long": "--invert"
                },
                {
                    "name": "-J --json",
                    "content": "Use JSON output format.\n",
                    "flag": "-J",
                    "long": "--json"
                },
                {
                    "name": "-k --kernel",
                    "content": "Search in /proc/self/mountinfo. The output is in the tree-like format. This is the\ndefault. The output contains only mount options maintained by kernel (see also --mtab).\n",
                    "flag": "-k",
                    "long": "--kernel"
                },
                {
                    "name": "-l --list",
                    "content": "Use the list output format. This output format is automatically enabled if the output is\nrestricted by the -t, -O, -S or -T option and the option --submounts is not used or if\nmore that one source file (the option -F) is specified.\n",
                    "flag": "-l",
                    "long": "--list"
                },
                {
                    "name": "-M --mountpoint",
                    "content": "Explicitly define the mountpoint file or directory. See also --target.\n",
                    "flag": "-M",
                    "long": "--mountpoint"
                },
                {
                    "name": "-m --mtab",
                    "content": "Search in /etc/mtab. The output is in the list format by default (see --tree). The output\nmay include user space mount options.\n",
                    "flag": "-m",
                    "long": "--mtab"
                },
                {
                    "name": "-N --task",
                    "content": "Use alternative namespace /proc/<tid>/mountinfo rather than the default\n/proc/self/mountinfo. If the option is specified more than once, then tree-like output is\ndisabled (see the --list option). See also the unshare(1) command.\n",
                    "flag": "-N",
                    "long": "--task"
                },
                {
                    "name": "-n --noheadings",
                    "content": "Do not print a header line.\n",
                    "flag": "-n",
                    "long": "--noheadings"
                },
                {
                    "name": "-O --options",
                    "content": "Limit the set of printed filesystems. More than one option may be specified in a\ncomma-separated list. The -t and -O options are cumulative in effect. It is different\nfrom -t in that each option is matched exactly; a leading no at the beginning does not\nhave global meaning. The \"no\" can used for individual items in the list. The \"no\" prefix\ninterpretation can be disabled by \"+\" prefix.\n",
                    "flag": "-O",
                    "long": "--options"
                },
                {
                    "name": "-o --output",
                    "content": "Define output columns. See the --help output to get a list of the currently supported\ncolumns. The TARGET column contains tree formatting if the --list or --raw options are\nnot specified.\n\nThe default list of columns may be extended if list is specified in the format +list\n(e.g., findmnt -o +PROPAGATION).\n",
                    "flag": "-o",
                    "long": "--output"
                },
                {
                    "name": "--output-all",
                    "content": "Output almost all available columns. The columns that require --poll are not included.\n",
                    "long": "--output-all"
                },
                {
                    "name": "-P --pairs",
                    "content": "Produce output in the form of key=\"value\" pairs. All potentially unsafe value characters\nare hex-escaped (\\x<code>).\n",
                    "flag": "-P",
                    "long": "--pairs"
                },
                {
                    "name": "-p --poll",
                    "content": "Monitor changes in the /proc/self/mountinfo file. Supported actions are: mount, umount,\nremount and move. More than one action may be specified in a comma-separated list. All\nactions are monitored by default.\n\nThe time for which --poll will block can be restricted with the --timeout or --first-only\noptions.\n\nThe standard columns always use the new version of the information from the mountinfo\nfile, except the umount action which is based on the original information cached by\nfindmnt. The poll mode allows using extra columns:\n\nACTION\nmount, umount, move or remount action name; this column is enabled by default\n\nOLD-TARGET\navailable for umount and move actions\n\nOLD-OPTIONS\navailable for umount and remount actions\n",
                    "flag": "-p",
                    "long": "--poll"
                },
                {
                    "name": "--pseudo",
                    "content": "Print only pseudo filesystems.\n",
                    "long": "--pseudo"
                },
                {
                    "name": "--shadow",
                    "content": "Print only filesystems over-mounted by another filesystem.\n",
                    "long": "--shadow"
                },
                {
                    "name": "-R --submounts",
                    "content": "Print recursively all submounts for the selected filesystems. The restrictions defined by\noptions -t, -O, -S, -T and --direction are not applied to submounts. All submounts are\nalways printed in tree-like order. The option enables the tree-like output format by\ndefault. This option has no effect for --mtab or --fstab.\n",
                    "flag": "-R",
                    "long": "--submounts"
                },
                {
                    "name": "-r --raw",
                    "content": "Use raw output format. All potentially unsafe characters are hex-escaped (\\x<code>).\n",
                    "flag": "-r",
                    "long": "--raw"
                },
                {
                    "name": "--real",
                    "content": "Print only real filesystems.\n",
                    "long": "--real"
                },
                {
                    "name": "-S --source",
                    "content": "Explicitly define the mount source. Supported specifications are device, maj:min,\nLABEL=label, UUID=uuid, PARTLABEL=label and PARTUUID=uuid.\n",
                    "flag": "-S",
                    "long": "--source"
                },
                {
                    "name": "-s --fstab",
                    "content": "Search in /etc/fstab. The output is in the list format (see --list).\n",
                    "flag": "-s",
                    "long": "--fstab"
                },
                {
                    "name": "-T --target",
                    "content": "Define the mount target. If path is not a mountpoint file or directory, then findmnt\nchecks the path elements in reverse order to get the mountpoint (this feature is\nsupported only when searching in kernel files and unsupported for --fstab). It’s\nrecommended to use the option --mountpoint when checks of path elements are unwanted and\npath is a strictly specified mountpoint.\n",
                    "flag": "-T",
                    "long": "--target"
                },
                {
                    "name": "-t --types",
                    "content": "Limit the set of printed filesystems. More than one type may be specified in a\ncomma-separated list. The list of filesystem types can be prefixed with no to specify the\nfilesystem types on which no action should be taken. For more details see mount(8).\n",
                    "flag": "-t",
                    "long": "--types"
                },
                {
                    "name": "--tree",
                    "content": "Enable tree-like output if possible. The options is silently ignored for tables where is\nmissing child-parent relation (e.g., fstab).\n",
                    "long": "--tree"
                },
                {
                    "name": "--shadowed",
                    "content": "Print only filesystems over-mounted by another filesystem.\n",
                    "long": "--shadowed"
                },
                {
                    "name": "-U --uniq",
                    "content": "Ignore filesystems with duplicate mount targets, thus effectively skipping over-mounted\nmount points.\n",
                    "flag": "-U",
                    "long": "--uniq"
                },
                {
                    "name": "-u --notruncate",
                    "content": "Do not truncate text in columns. The default is to not truncate the TARGET, SOURCE, UUID,\nLABEL, PARTUUID, PARTLABEL columns. This option disables text truncation also in all\nother columns.\n",
                    "flag": "-u",
                    "long": "--notruncate"
                },
                {
                    "name": "-v --nofsroot",
                    "content": "Do not print a [/dir] in the SOURCE column for bind mounts or btrfs subvolumes.\n",
                    "flag": "-v",
                    "long": "--nofsroot"
                },
                {
                    "name": "-w --timeout",
                    "content": "Specify an upper limit on the time for which --poll will block, in milliseconds.\n",
                    "flag": "-w",
                    "long": "--timeout"
                },
                {
                    "name": "-x --verify",
                    "content": "Check mount table content. The default is to verify /etc/fstab parsability and usability.\nIt’s possible to use this option also with --tab-file. It’s possible to specify source\n(device) or target (mountpoint) to filter mount table. The option --verbose forces\nfindmnt to print more details.\n",
                    "flag": "-x",
                    "long": "--verify"
                },
                {
                    "name": "--verbose",
                    "content": "Force findmnt to print more information (--verify only for now).\n",
                    "long": "--verbose"
                },
                {
                    "name": "--vfs-all",
                    "content": "When used with VFS-OPTIONS column, print all VFS (fs-independent) flags. This option is\ndesigned for auditing purposes to list also default VFS kernel mount options which are\nnormally not listed.\n",
                    "long": "--vfs-all"
                }
            ]
        },
        "ENVIRONMENT": {
            "content": "LIBMOUNTFSTAB=<path>\noverrides the default location of the fstab file\n\nLIBMOUNTMTAB=<path>\noverrides the default location of the mtab file\n\nLIBMOUNTDEBUG=all\nenables libmount debug output\n\nLIBSMARTCOLSDEBUG=all\nenables libsmartcols debug output\n\nLIBSMARTCOLSDEBUGPADDING=on\nuse visible padding characters.\n",
            "subsections": []
        },
        "EXAMPLES": {
            "content": "",
            "subsections": [
                {
                    "name": "findmnt --fstab -t nfs",
                    "content": "Prints all NFS filesystems defined in /etc/fstab.\n"
                },
                {
                    "name": "findmnt --fstab /mnt/foo",
                    "content": "Prints all /etc/fstab filesystems where the mountpoint directory is /mnt/foo. It also\nprints bind mounts where /mnt/foo is a source.\n"
                },
                {
                    "name": "findmnt --fstab --target /mnt/foo",
                    "content": "Prints all /etc/fstab filesystems where the mountpoint directory is /mnt/foo.\n"
                },
                {
                    "name": "findmnt --fstab --evaluate",
                    "content": "Prints all /etc/fstab filesystems and converts LABEL= and UUID= tags to the real device\nnames.\n"
                },
                {
                    "name": "findmnt -n --raw --evaluate --output=target LABEL=/boot",
                    "content": "Prints only the mountpoint where the filesystem with label \"/boot\" is mounted.\n"
                },
                {
                    "name": "findmnt --poll --mountpoint /mnt/foo",
                    "content": "Monitors mount, unmount, remount and move on /mnt/foo.\n"
                },
                {
                    "name": "findmnt --poll=umount --first-only --mountpoint /mnt/foo",
                    "content": "Waits for /mnt/foo unmount.\n"
                },
                {
                    "name": "findmnt --poll=remount -t ext3 -O ro",
                    "content": "Monitors remounts to read-only mode on all ext3 filesystems.\n"
                }
            ]
        },
        "AUTHORS": {
            "content": "Karel Zak <kzak@redhat.com>\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "fstab(5), mount(8)\n",
            "subsections": []
        },
        "REPORTING BUGS": {
            "content": "For bug reports, use the issue tracker at https://github.com/karelzak/util-linux/issues.\n",
            "subsections": []
        },
        "AVAILABILITY": {
            "content": "The findmnt command is part of the util-linux package which can be downloaded from Linux\nKernel Archive <https://www.kernel.org/pub/linux/utils/util-linux/>.\n\n\n\nutil-linux 2.37.2                            2026-03-06                                   FINDMNT(8)",
            "subsections": []
        }
    },
    "summary": "findmnt - find a filesystem",
    "flags": [
        {
            "flag": "-A",
            "long": "--all",
            "arg": null,
            "description": "Disable all built-in filters and print all filesystems."
        },
        {
            "flag": "-a",
            "long": "--ascii",
            "arg": null,
            "description": "Use ascii characters for tree formatting."
        },
        {
            "flag": "-b",
            "long": "--bytes",
            "arg": null,
            "description": "Print the SIZE, USED and AVAIL columns in bytes rather than in a human-readable format."
        },
        {
            "flag": "-C",
            "long": "--nocanonicalize",
            "arg": null,
            "description": "Do not canonicalize paths at all. This option affects the comparing of paths and the evaluation of tags (LABEL, UUID, etc.)."
        },
        {
            "flag": "-c",
            "long": "--canonicalize",
            "arg": null,
            "description": "Canonicalize all printed paths."
        },
        {
            "flag": "-D",
            "long": "--df",
            "arg": null,
            "description": "Imitate the output of df(1). This option is equivalent to -o SOURCE,FSTYPE,SIZE,USED,AVAIL,USE%,TARGET but excludes all pseudo filesystems. Use --all to print all filesystems."
        },
        {
            "flag": "-d",
            "long": "--direction",
            "arg": null,
            "description": "The search direction, either forward or backward."
        },
        {
            "flag": "-e",
            "long": "--evaluate",
            "arg": null,
            "description": "Convert all tags (LABEL, UUID, PARTUUID or PARTLABEL) to the corresponding device names."
        },
        {
            "flag": "-F",
            "long": "--tab-file",
            "arg": null,
            "description": "Search in an alternative file. If used with --fstab, --mtab or --kernel, then it overrides the default paths. If specified more than once, then tree-like output is disabled (see the --list option)."
        },
        {
            "flag": "-f",
            "long": "--first-only",
            "arg": null,
            "description": "Print the first matching filesystem only."
        },
        {
            "flag": "-h",
            "long": "--help",
            "arg": null,
            "description": "Display help text and exit."
        },
        {
            "flag": "-i",
            "long": "--invert",
            "arg": null,
            "description": "Invert the sense of matching."
        },
        {
            "flag": "-J",
            "long": "--json",
            "arg": null,
            "description": "Use JSON output format."
        },
        {
            "flag": "-k",
            "long": "--kernel",
            "arg": null,
            "description": "Search in /proc/self/mountinfo. The output is in the tree-like format. This is the default. The output contains only mount options maintained by kernel (see also --mtab)."
        },
        {
            "flag": "-l",
            "long": "--list",
            "arg": null,
            "description": "Use the list output format. This output format is automatically enabled if the output is restricted by the -t, -O, -S or -T option and the option --submounts is not used or if more that one source file (the option -F) is specified."
        },
        {
            "flag": "-M",
            "long": "--mountpoint",
            "arg": null,
            "description": "Explicitly define the mountpoint file or directory. See also --target."
        },
        {
            "flag": "-m",
            "long": "--mtab",
            "arg": null,
            "description": "Search in /etc/mtab. The output is in the list format by default (see --tree). The output may include user space mount options."
        },
        {
            "flag": "-N",
            "long": "--task",
            "arg": null,
            "description": "Use alternative namespace /proc/<tid>/mountinfo rather than the default /proc/self/mountinfo. If the option is specified more than once, then tree-like output is disabled (see the --list option). See also the unshare(1) command."
        },
        {
            "flag": "-n",
            "long": "--noheadings",
            "arg": null,
            "description": "Do not print a header line."
        },
        {
            "flag": "-O",
            "long": "--options",
            "arg": null,
            "description": "Limit the set of printed filesystems. More than one option may be specified in a comma-separated list. The -t and -O options are cumulative in effect. It is different from -t in that each option is matched exactly; a leading no at the beginning does not have global meaning. The \"no\" can used for individual items in the list. The \"no\" prefix interpretation can be disabled by \"+\" prefix."
        },
        {
            "flag": "-o",
            "long": "--output",
            "arg": null,
            "description": "Define output columns. See the --help output to get a list of the currently supported columns. The TARGET column contains tree formatting if the --list or --raw options are not specified. The default list of columns may be extended if list is specified in the format +list (e.g., findmnt -o +PROPAGATION)."
        },
        {
            "flag": "",
            "long": "--output-all",
            "arg": null,
            "description": "Output almost all available columns. The columns that require --poll are not included."
        },
        {
            "flag": "-P",
            "long": "--pairs",
            "arg": null,
            "description": "Produce output in the form of key=\"value\" pairs. All potentially unsafe value characters are hex-escaped (\\x<code>)."
        },
        {
            "flag": "-p",
            "long": "--poll",
            "arg": null,
            "description": "Monitor changes in the /proc/self/mountinfo file. Supported actions are: mount, umount, remount and move. More than one action may be specified in a comma-separated list. All actions are monitored by default. The time for which --poll will block can be restricted with the --timeout or --first-only options. The standard columns always use the new version of the information from the mountinfo file, except the umount action which is based on the original information cached by findmnt. The poll mode allows using extra columns: ACTION mount, umount, move or remount action name; this column is enabled by default OLD-TARGET available for umount and move actions OLD-OPTIONS available for umount and remount actions"
        },
        {
            "flag": "",
            "long": "--pseudo",
            "arg": null,
            "description": "Print only pseudo filesystems."
        },
        {
            "flag": "",
            "long": "--shadow",
            "arg": null,
            "description": "Print only filesystems over-mounted by another filesystem."
        },
        {
            "flag": "-R",
            "long": "--submounts",
            "arg": null,
            "description": "Print recursively all submounts for the selected filesystems. The restrictions defined by options -t, -O, -S, -T and --direction are not applied to submounts. All submounts are always printed in tree-like order. The option enables the tree-like output format by default. This option has no effect for --mtab or --fstab."
        },
        {
            "flag": "-r",
            "long": "--raw",
            "arg": null,
            "description": "Use raw output format. All potentially unsafe characters are hex-escaped (\\x<code>)."
        },
        {
            "flag": "",
            "long": "--real",
            "arg": null,
            "description": "Print only real filesystems."
        },
        {
            "flag": "-S",
            "long": "--source",
            "arg": null,
            "description": "Explicitly define the mount source. Supported specifications are device, maj:min, LABEL=label, UUID=uuid, PARTLABEL=label and PARTUUID=uuid."
        },
        {
            "flag": "-s",
            "long": "--fstab",
            "arg": null,
            "description": "Search in /etc/fstab. The output is in the list format (see --list)."
        },
        {
            "flag": "-T",
            "long": "--target",
            "arg": null,
            "description": "Define the mount target. If path is not a mountpoint file or directory, then findmnt checks the path elements in reverse order to get the mountpoint (this feature is supported only when searching in kernel files and unsupported for --fstab). It’s recommended to use the option --mountpoint when checks of path elements are unwanted and path is a strictly specified mountpoint."
        },
        {
            "flag": "-t",
            "long": "--types",
            "arg": null,
            "description": "Limit the set of printed filesystems. More than one type may be specified in a comma-separated list. The list of filesystem types can be prefixed with no to specify the filesystem types on which no action should be taken. For more details see mount(8)."
        },
        {
            "flag": "",
            "long": "--tree",
            "arg": null,
            "description": "Enable tree-like output if possible. The options is silently ignored for tables where is missing child-parent relation (e.g., fstab)."
        },
        {
            "flag": "",
            "long": "--shadowed",
            "arg": null,
            "description": "Print only filesystems over-mounted by another filesystem."
        },
        {
            "flag": "-U",
            "long": "--uniq",
            "arg": null,
            "description": "Ignore filesystems with duplicate mount targets, thus effectively skipping over-mounted mount points."
        },
        {
            "flag": "-u",
            "long": "--notruncate",
            "arg": null,
            "description": "Do not truncate text in columns. The default is to not truncate the TARGET, SOURCE, UUID, LABEL, PARTUUID, PARTLABEL columns. This option disables text truncation also in all other columns."
        },
        {
            "flag": "-v",
            "long": "--nofsroot",
            "arg": null,
            "description": "Do not print a [/dir] in the SOURCE column for bind mounts or btrfs subvolumes."
        },
        {
            "flag": "-w",
            "long": "--timeout",
            "arg": null,
            "description": "Specify an upper limit on the time for which --poll will block, in milliseconds."
        },
        {
            "flag": "-x",
            "long": "--verify",
            "arg": null,
            "description": "Check mount table content. The default is to verify /etc/fstab parsability and usability. It’s possible to use this option also with --tab-file. It’s possible to specify source (device) or target (mountpoint) to filter mount table. The option --verbose forces findmnt to print more details."
        },
        {
            "flag": "",
            "long": "--verbose",
            "arg": null,
            "description": "Force findmnt to print more information (--verify only for now)."
        },
        {
            "flag": "",
            "long": "--vfs-all",
            "arg": null,
            "description": "When used with VFS-OPTIONS column, print all VFS (fs-independent) flags. This option is designed for auditing purposes to list also default VFS kernel mount options which are normally not listed."
        }
    ],
    "examples": [
        "Prints all NFS filesystems defined in /etc/fstab.",
        "Prints all /etc/fstab filesystems where the mountpoint directory is /mnt/foo. It also",
        "prints bind mounts where /mnt/foo is a source.",
        "Prints all /etc/fstab filesystems where the mountpoint directory is /mnt/foo.",
        "Prints all /etc/fstab filesystems and converts LABEL= and UUID= tags to the real device",
        "names.",
        "Prints only the mountpoint where the filesystem with label \"/boot\" is mounted.",
        "Monitors mount, unmount, remount and move on /mnt/foo.",
        "Waits for /mnt/foo unmount.",
        "Monitors remounts to read-only mode on all ext3 filesystems."
    ],
    "see_also": [
        {
            "name": "fstab",
            "section": "5",
            "url": "https://www.chedong.com/phpMan.php/man/fstab/5/json"
        },
        {
            "name": "mount",
            "section": "8",
            "url": "https://www.chedong.com/phpMan.php/man/mount/8/json"
        }
    ]
}