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