I don't like to keep my data in the same partition as my Home directory; so I configure my machine with a small home partition which contains a symlink to my large data partition.
For this reason, the default behavior of ecryptfs-setup-private utility doesn't quite work
for me.
I would like the Private directory in my home directory; pointing to the .Private encrypted directory located in my large data partition. Is there an easy way to achieve this and still retain the automount behavior that I get with ecryptfs-setup-private?
Best Answer
I also wanted to accomplish the same thing, so I've tested a little bit and realized that symlinks alone can do what we want.
You can simply move the .Private folder to some other partition, and create a symlink at the old location pointing to the location of .Private in the new partition.
Automount and unmount still works perfectly.