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

Fix 2496 - umounting all partitions #2498

Merged
merged 2 commits into from
May 15, 2024
Merged

Conversation

svartkanin
Copy link
Collaborator

This fixes #2496

I was able to reproduce the problem on the latest master and with this change it seems to be fixed.

The problem is that during the partitioning/formatting the umount_all_existing is called multiple times, even after existing partitions have been deleted already which results in trying to umount these deleted partitions as a old reference object is used.
There shouldn't be any need to call the umount each time a partitioning or formatting is performed but only once for each disk involved.

@svartkanin
Copy link
Collaborator Author

@Torxed could you approve this to get it in :)

@Torxed Torxed merged commit bab06e4 into archlinux:master May 15, 2024
6 checks passed
@Torxed
Copy link
Member

Torxed commented May 15, 2024

Good job! Approved and merged!

@DeN-AlB
Copy link

DeN-AlB commented May 15, 2024

Nice guys! Thanks a lot!

@svartkanin svartkanin mentioned this pull request May 19, 2024
@svartkanin svartkanin mentioned this pull request May 29, 2024
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

Successfully merging this pull request may close these issues.

another crash (Failed to read disk "/dev/nvme0n1p3" with lsblk)
3 participants