mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-01-26 11:33:59 +00:00
34 lines
585 B
Plaintext
34 lines
585 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, linux]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# findmnt
|
|
|
|
> Find your filesystem.
|
|
> More information: <https://manned.org/findmnt>.
|
|
|
|
- List all mounted filesystems:
|
|
|
|
`findmnt`
|
|
|
|
- Search for a device:
|
|
|
|
`findmnt {{/dev/sdb1}}`
|
|
|
|
- Search for a mountpoint:
|
|
|
|
`findmnt {{/}}`
|
|
|
|
- Find filesystems in specific type:
|
|
|
|
`findmnt {{[-t|--types]}} {{ext4,virtiofs,btrfs,...}}`
|
|
|
|
- Find filesystems with specific label:
|
|
|
|
`findmnt LABEL={{BigStorage}}`
|
|
|
|
- Check mount table content in detail and verify `/etc/fstab`:
|
|
|
|
`findmnt {{[-x|--verify]}} --verbose`
|