summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-01-06 16:55:38 +0100
committerJakob Unterwurzacher2016-01-06 16:55:38 +0100
commit6a9da0db106494f5e7ce2c37e05bec02a9b08837 (patch)
treed13acaa3e582be423c1270673ec79951aa0ff8aa
parent6443691c7e3f281401da89fa6f832d0a563b7534 (diff)
Add EXAMPLES to manpage
-rw-r--r--Documentation/MANPAGE.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/Documentation/MANPAGE.md b/Documentation/MANPAGE.md
index 2e440b2..3677b76 100644
--- a/Documentation/MANPAGE.md
+++ b/Documentation/MANPAGE.md
@@ -99,3 +99,14 @@ mounting but makes the password susceptible to brute-force attacks (default 16)
: Use all-zero dummy master key. This options is only intended for
automated testing as it does not provide any security.
+
+EXAMPLES
+========
+
+Create and mount an encrypted filesystem:
+
+mkdir /tmp/g1 /tmp/g2
+
+gocryptfs -init /tmp/g1
+gocryptfs /tmp/g1 /tmp/g2
+