add findmnt.md

This commit is contained in:
Felix Yan
2014-03-01 01:03:29 +08:00
parent b2ede9d808
commit bbebeb09fa

23
linux/findmnt.md Normal file
View File

@@ -0,0 +1,23 @@
# findmnt
> Find your filesystem
- List all mounted filesystems
`findmnt`
- Search for a device
`findmnt {{/dev/sdb1}}`
- Search for a mountpoint
`findmnt {{/}}`
- Find filesystems in specific type
`findmnt -t {{ext4}}`
- Find filesystems with specific label
`findmnt LABEL={{BigStorage}}`