System Grab Bag

View all TLDR pages from Linux (or from all pages)

mountpoint

Test if a directory is a filesystem mountpoint. More information: https://manned.org/mountpoint.
  • Check if a directory is a mountpoint:
    mountpoint {{path/to/directory}}
  • Check if a directory is a mountpoint without showing any output:
    mountpoint -q {{path/to/directory}}
  • Show major/minor numbers of a mountpoint's filesystem:
    mountpoint --fs-devno {{path/to/directory}}

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.