mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-13 10:48:09 +00:00
Update cheatsheets
This commit is contained in:
21
linux/mountpoint
Normal file
21
linux/mountpoint
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
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 {{path/to/directory}}`
|
||||
|
||||
- Show major/minor numbers of a mountpoint's filesystem:
|
||||
|
||||
`mountpoint --fs-devno {{path/to/directory}}`
|
||||
Reference in New Issue
Block a user