EncFs

encfs is started as a daemon with a keepalive timer so it automatically closes when it has been unused for some time. This is because it can take some time both for encfs to open the encrypted data and to finish writing all changes to it.

Other designs that has been tried where:

# open and close as fast as possible Directly after opening dsnapshot started writing data to the decrypted path and then close it. If the writing of the data where faster than encfs took to open the encrypted data it would result in everything being lost.

# encryp only the snapshot This fails because while we are working on a new snapshot it has the trailing prefix -in-progress. It is then renamed, by removing the prefix, when it is done. This somehow breaks encfs in mysterious ways.

Constructors

this
this(string config, string passwd, string encrypted, string[] mountCmd, string[] mountFuseOpts, string[] unmountCmd, string[] unmountFuseOpts)
Undocumented in source.

Members

Functions

close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
open
void open(string decrypted)
Undocumented in source. Be warned that the author may not have intended to support it.
supportHardLinks
bool supportHardLinks()
Undocumented in source. Be warned that the author may not have intended to support it.
supportRemoteEncryption
bool supportRemoteEncryption()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

config
string config;
Undocumented in source.
decryptBeforeOpen
Nullable!stat_t decryptBeforeOpen;
Undocumented in source.
decrypted
Path decrypted;
Undocumented in source.
encrypted
Path encrypted;
Undocumented in source.
mountCmd
string[] mountCmd;
Undocumented in source.
mountFuseOpts
string[] mountFuseOpts;
Undocumented in source.
passwd
string passwd;
Undocumented in source.
unmountCmd
string[] unmountCmd;
Undocumented in source.
unmountFuseOpts
string[] unmountFuseOpts;
Undocumented in source.

Inherited Members

From CryptBackend

open
void open(string decrypted)

Open the encrypted destination.

close
void close()

Close the encrypted destination.

supportHardLinks
bool supportHardLinks()

If the crypto backend supports hard links and thus --link-dest with e.g. rsync works.

supportRemoteEncryption
bool supportRemoteEncryption()

If the crypto backend supports that the encrypted data is on a remote host.

Meta