1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/mountpoint.md

17 lines
406 B
Markdown
Raw Normal View History

2019-05-01 07:36:40 -04:00
# mountpoint
> Test if a directory is a filesystem mountpoint.
> More information: <https://manned.org/mountpoint>.
2019-05-01 07:36:40 -04:00
- 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}}`