Close Menu
    Facebook X (Twitter) Instagram
    Command Linux
    • About
    • How to
      • Q&A
    • OS
      • Windows
      • Arch Linux
    • AI
    • Gaming
      • Easter Eggs
    • Statistics
    • Blog
      • Featured
    • MORE
      • IP Address
      • Man Pages
    • Write For Us
    • Contact
    Command Linux
    Home - Q&A - All Linux List Mounts Commands

    All Linux List Mounts Commands

    WillieBy WillieMarch 5, 2026Updated:March 5, 2026No Comments5 Mins Read

    Three commands cover every scenario when you need to linux list mounts on a running system: mount, cat /proc/mounts, and df. Each returns different levels of detail depending on whether you need a quick snapshot, real-time kernel data, or storage usage numbers alongside the mount list. This guide covers all three, including a fourth option—findmnt—for tree-formatted output.

    How to Linux List Mounts Using the mount Command

    Running mount with no arguments prints every active filesystem: the block device, its attach point, type, and permission flags. It is the fastest way to get a complete mount list.

    mount

    Sample output on a typical system:

    Device Mount Point Type Options
    /dev/sda1/ext4rw,relatime
    /dev/sda2/homeext4rw,relatime
    /dev/sr0/media/cdrom0iso9660ro,nosuid,nodev,relatime
    /dev/sdb1/mnt/usbvfatrw,nosuid,nodev,relatime

    The rw flag means the filesystem is mounted read-write. The ro flag means read-only—expected for optical media like /dev/sr0. To narrow output to a specific filesystem type, pass the -t flag. For example, mount -t ext4 shows only ext4 partitions.

    You can also copy files recursively in Linux across these mount points once you have confirmed what is active on the system.

    Reading /proc/mounts to List Linux Mount Points

    The /proc/mounts file is a virtual file the kernel maintains in real time. It updates instantly as filesystems are attached or detached, making it the most accurate source available.

    cat /proc/mounts
    Device Mount Point Type Options Dump Pass
    /dev/sda1/ext4rw,relatime00
    /dev/sda2/homeext4rw,relatime00
    /dev/sr0/media/cdrom0iso9660ro,nosuid,nodev,relatime00
    /dev/sdb1/mnt/usbvfatrw,nosuid,nodev,relatime00

    The two trailing columns—dump and pass—control backup frequency and fsck check order at boot. Both are typically 0 on modern systems. System administrators often prefer /proc/mounts over mount in scripts because it always reflects the live kernel state without any processing overhead.

    When working with data across mounted filesystems, knowing how to count files in a directory helps when auditing storage before or after mounting additional volumes.

    Check Disk Usage When You Linux List Mounts Using df

    The df command lists every mounted filesystem along with total capacity, space consumed, and space remaining. Adding -h formats the numbers into readable units.

    df -h
    Disk Usage per Mounted Filesystem — df -h Sample Output
    /dev/sda1
    43%
    20G / 50G
    /dev/sda2
    43%
    40G / 100G
    /dev/sr0
    100%
    1.5G / 1.5G
    /dev/sdb1
    31%
    10G / 32G
    Root /
    /home
    CD-ROM (read-only, full)
    USB /mnt/usb
    Filesystem Capacity Used Free Use% Mounted On
    /dev/sda150G20G28G43%/
    /dev/sda2100G40G55G43%/home
    /dev/sr01.5G1.5G0100%/media/cdrom0
    /dev/sdb132G10G22G31%/mnt/usb

    The /dev/sr0 partition at 100% is expected—optical media mounts as read-only and always reports full usage. To show only specific filesystem types with disk data, run df -ht ext4. The -a flag includes virtual filesystems like tmpfs and sysfs that df omits by default.

    Using findmnt to Linux List Mounts in Tree Format

    The findmnt command displays the mount table in a tree layout, which makes parent-child filesystem relationships visible at a glance. It ships with most modern distributions and needs no arguments to run.

    findmnt

    To restrict output to a specific type:

    findmnt -t ext4

    The -o flag controls which columns appear. For example, findmnt -o TARGET,FSTYPE,SIZE,USE% returns only mount point, type, total size, and usage percentage—a compact view useful for quick checks.

    Comparing Linux List Mounts Commands

    Command Device Name Mount Point FS Type Disk Usage Real-Time Tree View
    mount ✓ ✓ ✓ — — —
    cat /proc/mounts ✓ ✓ ✓ — ✓ —
    df -h ✓ ✓ ✓ ✓ — —
    findmnt ✓ ✓ ✓ ✓ ✓ ✓

    How to Unmount a Filesystem in Linux

    Once a partition no longer needs to stay active, detach it with umount followed by the mount point or device path:

    umount /mnt/usb

    If the filesystem is busy—meaning a process has an open file on it—the command will fail. Run lsof +f -- /mnt/usb to see which processes are holding it open, then stop them before unmounting. A filesystem that does not appear when you linux list mounts is simply not attached. Mount it again with mount /dev/sdb1 /mnt/usb.


    FAQs

    What is the fastest command to linux list mounts?

    Running mount with no arguments is the fastest option. It prints all active filesystems, their attach points, types, and permission flags in a single command with no flags required.

    What is the difference between /proc/mounts and /etc/fstab?

    /proc/mounts shows filesystems currently attached to the system in real time. /etc/fstab defines which filesystems mount at boot. Not all entries in /etc/fstab are necessarily mounted at a given time.

    How do I list only ext4 mounted filesystems in Linux?

    Run mount -t ext4 or findmnt -t ext4. Both commands filter output to show only filesystems of the specified type. The df -ht ext4 variant also includes disk usage data.

    Does df show all mounted filesystems including virtual ones?

    No. By default, df omits pseudo-filesystems like tmpfs, sysfs, and devtmpfs. Add the -a flag (df -ah) to include all attached filesystems.

    Why does /dev/sr0 show 100% disk usage in df output?

    Optical media and ISO mounts are read-only with fixed content. The kernel reports them as completely full because no free space exists on a read-only medium. This is expected behavior, not an error.

    Willie
    • Website

    Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.

    Related Posts

    Copy File Using CP Command In Linux

    April 16, 2026

    How To Find Text in Files In Linux

    April 14, 2026

    Ubuntu Install AppImage On Linux

    April 14, 2026

    How to Check Linux Version

    April 9, 2026
    Top Posts

    Is Simpcity Down?

    February 5, 2026

    Codes Etruesports – Active Promo Codes 2026

    March 6, 2026

    UNLINK

    February 26, 2026

    FTOK

    March 24, 2026
    • Home
    • Contact Us
    • Privacy Policy
    • Terms of Use

    Type above and press Enter to search. Press Esc to cancel.