tldr/pages/linux/findmnt.md

24 lines
307 B
Markdown
Raw Normal View History

2014-02-28 17:03:29 +00:00
# findmnt
> Find your filesystem.
2014-02-28 17:03:29 +00:00
- List all mounted filesystems:
2014-02-28 17:03:29 +00:00
`findmnt`
- Search for a device:
2014-02-28 17:03:29 +00:00
`findmnt {{/dev/sdb1}}`
- Search for a mountpoint:
2014-02-28 17:03:29 +00:00
`findmnt {{/}}`
- Find filesystems in specific type:
2014-02-28 17:03:29 +00:00
`findmnt -t {{ext4}}`
- Find filesystems with specific label:
2014-02-28 17:03:29 +00:00
`findmnt LABEL={{BigStorage}}`