diff options
author | Jakob Unterwurzacher | 2021-01-10 08:01:08 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-01-10 08:01:08 +0100 |
commit | 6b492fdcb8f2a95c6a5dd57b445b3551b541f4ae (patch) | |
tree | d37c13014b7f76336c4724b9c06c525d68b9ac53 | |
parent | f3394ae286d65492483579e038acb33edd8ca274 (diff) |
MANPAGE: add sub-headers to EXAMPLES
Makes linking to them easier.
-rw-r--r-- | Documentation/MANPAGE.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/MANPAGE.md b/Documentation/MANPAGE.md index 5febe90..9ddf674 100644 --- a/Documentation/MANPAGE.md +++ b/Documentation/MANPAGE.md @@ -573,18 +573,24 @@ In short: EXAMPLES ======== +### Init + Create an encrypted filesystem in directory "mydir.crypt", mount it on "mydir": mkdir mydir.crypt mydir gocryptfs -init mydir.crypt gocryptfs mydir.crypt mydir +### Mount + Mount an encrypted view of joe's home directory using reverse mode: mkdir /home/joe.crypt gocryptfs -init -reverse /home/joe gocryptfs -reverse /home/joe /home/joe.crypt +### fstab + Adding this line to `/etc/fstab` will mount `/tmp/cipher` to `/tmp/plain` on boot, using the password in `/tmp/passfile`. Use `sudo mount -av` to test the line without having to reboot. Adjust the gocryptfs path acc. to the output of the command `which gocryptfs`. |