-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Unmount mode #862
Comments
It's useful if you want to flash a nixos installation to an external device and than remove the said device without reboot:
If you just remove the device as is, the zpool will still be around, if you forgot to remove it, you won't be able to use the zpool until reboot. Very annoying. Also had fun with swap: #890 |
so there are 2 ways unmounting can happen.
|
I am currently implementing the first option because for veritysetup we also need to inject stuff that would be hard to do in generic way. |
we can also add hooks for unmounting, which people could define in their config and would be run before/after unmounting the specified type. |
Originally posted by @Lassulus in #842 (comment)
I'm not opposed to this at all, but what would this generally be useful for?
The text was updated successfully, but these errors were encountered: