Files
cheatsheet-tldr/tldr/linux/findmnt
2025-08-07 00:22:23 +00:00

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`