Update manpage examples

This commit is contained in:
Oscar 2020-04-04 15:29:42 -07:00 committed by rfjakob
parent 2568518992
commit 75f16771ff
1 changed files with 5 additions and 6 deletions

View File

@ -488,14 +488,13 @@ In short:
EXAMPLES
========
Create an encrypted filesystem in directory "g1", mount it on "g2",
look at the contents, and umount again:
Create an encrypted filesystem in directory "mydir.crypt", mount it on "mydir":
mkdir cipher mnt
gocryptfs -init cipher
gocryptfs cipher mnt
mkdir mydir.crypt mydir
gocryptfs -init mydir.crypt
gocryptfs mydir.crypt mydir
Mount an ecrypted view of joe's home directory using reverse mode:
Mount an encrypted view of joe's home directory using reverse mode:
mkdir /home/joe.crypt
gocryptfs -init -reverse /home/joe