This project has moved and is read-only. For the latest updates, please go here.

linux: how to mount to different location than /media?

Topics: Technical Issues
Jun 22, 2016 at 2:14 PM
Hi, I have been mounting my containter using "veracrypt container.hc /home/user/mountpoint", which was fine until I forgot to mount. Then all the files were written directly to mountpoint directory without encryption, because the path /home/user/mountpoint existed. My bad.

Is there a way to specify the mountpoint during veracrypt mount and remove it on dismount? Without mountpoint specified, veracrypt creates folder(s) in /media by default, which is quite fine, but is there a way to create them elsewhere? When I specify non existent mountpoint, veracrypt will not attempt to create it (like in /media) and reports Error: mount: mount point /home/user/mountpoint does not exist.

I want the mountpoint to exist only when the volume is mounted, away from /media, preferably somewhere in user home folder. How can I do this?

Thank you.