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