mirror of https://github.com/CrimsonTome/tldr.git
24 lines
301 B
Markdown
24 lines
301 B
Markdown
|
# 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}}`
|