1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/linux/findmnt.md

24 lines
307 B
Markdown
Raw Normal View History

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