-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
refactor: use the term unmount instead of dismount #1478
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
refactor: use the term unmount instead of dismount #1478
Conversation
This change updates the term DISMOUNT in constants to UNMOUNT. Other occurrences (e.g. variable names) are left alone for now.
This change updates the GUI text and replaces dismount with unmount.
This change adds an argument 'unmount' for command line usage, while trying to deprecate the old disnount argument. The current dismount argument/flag will still work to not introduce a breaking change.
This change fixes the shorthand version of the argument /unmount It also adds back the info for /dismount and that it is deprecated.
|
@tessus Thank you! |
|
You are welcome and thank you for accepting this change. |
Hi, just curious. |
|
By "IT standards," I meant what is commonly used as a standard term for disconnecting a disk or volume, not an official standard like ISO or similar. The term "dismount" originated in the Windows ecosystem where it was chosen in contrast to "unmount" the term used in UNIX and macOS environments. For further clarification, this article explains the distinction between the two terms: https://thecontentauthority.com/blog/unmount-vs-dismount Additionally, the Cambridge Dictionary definitions reinforce the difference:
It was time for VeraCrypt to move away from "dismount" and I thank @tessus for helping make this change happen. |
|
I changed it though: 700a24a#diff-3df32839fe2f3289e5aad00e28aa5a7f6cac1c4ff6d2880395be314f7c7e9bffR1012
|
|
@apawelec Thank you for reporting this. It is amazing how we all missed this button...the brain can sometimes play tricks on you! @tessus <entry lang="en" key="IDC_UNMOUNTALL">Di&smount All</entry>Fixing this will require using "Unmount All" and since it doesn't contain an ' I will push a change to fix this and use |
|
Fix pushed: 42b716f |


This PR has more than 1 commit on purpose and can be squashed during merge. (Or I can squash them as well, even though I like the commits separate in PRs (and not force push in a PR) to make discussion/comments easier to follow. But I will adhere to whatever process this project follows.)
UNMOUNTin constantsunmount(dismountwill still work)This is a rather extensive change in terms of LOC changed. I split it in several commits to make the review a bit easier.
I haven't changed variable names for now, but can do so upon request. I have noticed that in certain parts of the code the term
unmounthad already been used.