add findmnt.md
This commit is contained in:
23
linux/findmnt.md
Normal file
23
linux/findmnt.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# findmnt
|
||||||
|
|
||||||
|
> Find your filesystem
|
||||||
|
|
||||||
|
- List all mounted filesystems
|
||||||
|
|
||||||
|
`findmnt`
|
||||||
|
|
||||||
|
- Search for a device
|
||||||
|
|
||||||
|
`findmnt {{/dev/sdb1}}`
|
||||||
|
|
||||||
|
- Search for a mountpoint
|
||||||
|
|
||||||
|
`findmnt {{/}}`
|
||||||
|
|
||||||
|
- Find filesystems in specific type
|
||||||
|
|
||||||
|
`findmnt -t {{ext4}}`
|
||||||
|
|
||||||
|
- Find filesystems with specific label
|
||||||
|
|
||||||
|
`findmnt LABEL={{BigStorage}}`
|
Reference in New Issue
Block a user