mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
22 lines
521 B
Plaintext
22 lines
521 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# 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|--quiet]}} {{path/to/directory}}`
|
|
|
|
- Show major/minor numbers of a mountpoint's filesystem:
|
|
|
|
`mountpoint {{[-d|--fs-devno]}} {{path/to/directory}}`
|