mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-06 18:26:00 +02:00
mountpoint: add page (#2963)
This commit is contained in:
parent
04a427a9e2
commit
da2344c7a5
1 changed files with 15 additions and 0 deletions
15
pages/linux/mountpoint.md
Normal file
15
pages/linux/mountpoint.md
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
# mountpoint
|
||||||
|
|
||||||
|
> Test if a directory is a filesystem 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}}`
|
Loading…
Add table
Reference in a new issue