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}}
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.