• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • VCS
  • Interview Questions
  • Database
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

findmnt Command Examples in Linux

by Deepika

findmnt is a command-line tool used to display information about mounted file systems on a Linux or Unix-based system. It is a part of the util-linux package and can be used to list all currently mounted file systems, as well as search for and display information about specific file systems.

findmnt can display a variety of information about each file system, including the device name, mount point, file system type, options used when mounting the file system, and the file system label or UUID. The information can be displayed in a variety of formats, including a tabular format, a tree format, and a JSON format.

The command can be used to display all currently mounted file systems with:

# findmnt

It can also be used to find information about a specific file system by specifying the device name, mount point, file system label, or UUID.

findmnt Command Examples

1. List all mounted filesystems:

# findmnt

2. Search for a device:

# findmnt /dev/sdb1

3. Search for a mountpoint:

# findmnt /

4. Find filesystems in specific type:

# findmnt -t ext4

5. Find filesystems with specific label:

# findmnt LABEL=BigStorage

Filed Under: Linux

Some more articles you might also be interested in …

  1. btm: An alternative to top
  2. flock Command Examples in Linux
  3. pvchange Command Examples in Linux
  4. nmcli device Command Examples in Linux
  5. extrace Command Examples in Linux
  6. CentOS / RHEL : How to move a Volume Group from one system to another
  7. CentOS / RHEL : Resize (reduce) non-root EXT3/4 filesystem on non-LVM device (hard disk partition)
  8. Windows Active Directory Account Shows Inconsistent UID/GID In Different Linux SSSD Clients (CentOS/RHEL)
  9. aws history: Print the command-line history for AWS CLI commands (Command Examples)
  10. gcov: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • “glab pipeline” Command Examples
  • “glab mr” Command Examples
  • “glab mr merge” Command Examples
  • “glab mr” Command Examples

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright