Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improvement] Add encrypted partition mounting by it size or disk serial number #210

Open
HypnoticST8 opened this issue Sep 10, 2023 · 1 comment

Comments

@HypnoticST8
Copy link

Due to the lack of UUID for a given VeraCrypt-encrypted partition and the lack of 100% repeatability of mapping a specific partition each time the system starts to a specific device (the specific partition that I want to automatically mount in most cases is mapped to /dev/sda1, but sometimes to /dev/sdb1 , /dev/sdc1 or other) it is not possible to reliably automount a specific partition. Some additional logic would need to be added to enable reliable automounting of a given partition. Two simple solutions come to my mind right now. The first is to add the ability to mount partitions by their size. This may not be the best method because another partition may also have the same size, but it is not that likely. It would be best to use the serial number of the disk. If the above is too time-consuming, you could at least add it to the favorites menu where the partitions are displayed - their size or serial number, which allows for quick identification of a given partition without the need to go to Favorites -> Megage Favorites -> add a volume -> disc icon

@mhogomchungu
Copy link
Owner

In the favorite window, you can type a path to your device and i think it should work.

You can get a path to your device by looking in "/dev/disk/by-id/" after you have attached your device.

Paths at "/dev/disk/by-*" are used to work around the issue you identified of changing locations of /dev/sdXY

I do not have an external drive at the moment to test if these paths at "/dev/disk/by-id/" work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants