I've followed this page to make a partition encrypted.
When I format the created luks volume I do this:
root@M17A:/home/mike# sudo mkfs.ext4 /dev/mapper/cryptpart
mke2fs 1.45.5 (07-Jan-2020)
Creating filesystem with 25595904 4k blocks and 6406144 inodes
Filesystem UUID: d92e97e5-c89f-4b24-b63f-e36fcdb98da9
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624, 11239424, 20480000, 23887872
...
That UUID there "d92e..." then becomes incorporated into the location, without me configuring it, so that the path to the root directory of the ready-for-use now unlocked encrypted volume is
/media/mike/d92e97e5-c89f-4b24-b63f-e36fcdb98da9
From this location I got the idea of running a command like this:
sudo cryptsetup config /dev/sdc3 --label MAIN
... where dev/sdc3 is the partition which has now been encoded. But it doesn't work: when I boot up, this sdc3 partition is indeed given the alias "MAIN", but this disappears when I enter the password to unlock the partition. The partition then goes back to being "105 GB Volume", and the actual path to the ready-for-use root directory of the now unlocked luks volume is as above.
Needless to say, I have tried many, many permutations to try and get the encryption system to accept a configured path chosen by me. To no avail.
I have set up a symlink for ease of use. But it's still irksome and I want to know if there's any way of telling the encryption app to configure with a particular path such as "/media/mike/MAIN" when it unlocks the luks volume.