modify unix default mounting point prefix (use /run/media/veracrypt t…#1524
modify unix default mounting point prefix (use /run/media/veracrypt t…#1524idrassi merged 5 commits intoveracrypt:masterfrom
Conversation
…o replace /mnt/veracrypt).
|
@idrassi , please have a look |
|
@Jertzukka , I fix the semicolon and append |
|
@idrassi is it ok? |
|
@stevenleeS0ht Thank you for the proposed changed. Using /run/media on Linux is ok for me since it is closer to the approach adopted by udisk2. I would ask to put the new code inside Can you please do this change? Another thing is to check the behavior of FileManagers like Nautilus, Nemo and Dolphin after applying this change. For example, today on Linux Mint, after mounting a volume, it is automatically detected and shown in Nemo FileManager. I will try to check the behavior after this change. |
@idrassi , I think |
|
Thank you for the change. I'm having a hard time testing this modification because I haven’t found a single Linux distribution where it gets triggered. Either /media already exists, so /run/media is not checked, or neither /media nor /run/media exist, in which case /mnt is used. In what environment would this change be useful? Given that we already have the |
|
@idrassi @stevenleeS0ht , Sorry for forgetting put Linux Distro information in my issue. I can confirm that Arch Linux and all its derivatives use |
|
@idrassi , as evidence, please read https://wiki.archlinux.org/title/Udisks#Mount_to_/media
|
@idrassi , yeah, I also use Arch Linux (EndeavourOS for desktop), the information and links provided by @evan0greenup is correct. |
|
Thank you for these details. I also did a check on an Arch Linux machine and /media is absent which makes VeraCrypt use /mnt. With this change, /run/media will be used which will align with expected logic. |
…o replace /mnt/veracrypt).
This pull request is to solve this issue #1521.