summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrfjakob2020-02-29 20:51:23 +0100
committerrfjakob2020-02-29 20:51:23 +0100
commitf76fb0c6b99a7688b730e16f2968029eaec05aac (patch)
treef6b134622110671b5593b43cbfacf07efb591ca9
parentd0fe3401cf0f5141b78a4b170dbef5c0bdc6535b (diff)
Updated Restore gocryptfs.conf (markdown)
-rw-r--r--Recreate-gocryptfs.conf-using-masterkey.md (renamed from Restore-gocryptfs.conf.md)11
1 files changed, 7 insertions, 4 deletions
diff --git a/Restore-gocryptfs.conf.md b/Recreate-gocryptfs.conf-using-masterkey.md
index 7aac379..e7527e6 100644
--- a/Restore-gocryptfs.conf.md
+++ b/Recreate-gocryptfs.conf-using-masterkey.md
@@ -5,7 +5,7 @@ If you lose your `gocryptfs.conf` but have saved your masterkey, you can create
### Complete example
-You create your filesystem and store data in it:
+(1) You create your filesystem and store data in it:
```
$ gocryptfs -init a
@@ -34,13 +34,13 @@ $ echo "hello world" > b/hello.txt
$ fusermount -u b
```
-Disaster strikes: Your gocryptfs.conf is lost:
+(2) Disaster strikes: Your gocryptfs.conf is lost:
```
$ rm a/gocryptfs.conf
rm: remove write-protected regular file 'a/gocryptfs.conf'? y
```
-Restore gocryptfs.conf using the masterkey:
+(3) Restore gocryptfs.conf using the masterkey that you saved:
```
$ mkdir tmp
@@ -67,4 +67,7 @@ Filesystem mounted and ready.
$ cat b/hello.txt
hello world
-``` \ No newline at end of file
+```
+
+### Notes
+* If you have have used non-default options in `gocryptfs -init` in step (1) you also have to use them in step (3) \ No newline at end of file