From bbebeb09fab1125f3c4c4acdf835eab4cfa448be Mon Sep 17 00:00:00 2001 From: Felix Yan Date: Sat, 1 Mar 2014 01:03:29 +0800 Subject: [PATCH] add findmnt.md --- linux/findmnt.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 linux/findmnt.md diff --git a/linux/findmnt.md b/linux/findmnt.md new file mode 100644 index 0000000000..45de2970e0 --- /dev/null +++ b/linux/findmnt.md @@ -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}}`