-
Notifications
You must be signed in to change notification settings - Fork 526
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
Fixing the 'device_instance' being None in some partition places #902
Conversation
…to make sure `add_partition` can't continue silently
…get device (#896) * disk layout: partprobe should be called and checked only for target device * disk layout: partprobe: removed unnecessary bash subprocess
Found the possible culprit: Added an exception to |
…e mount-checks got some rrro handling and non-block devices should no longer attempt to return a size
…get device (#896) * disk layout: partprobe should be called and checked only for target device * disk layout: partprobe: removed unnecessary bash subprocess
We also had to change and make sure |
One minor issue was that
add_partition
was defined to return-> None
.Another issue might be uuid comparison using small/capital letters when comparing, so unified that.
Added a bunch of debugging and placed an exception in case
add_partition
doesn't return anything at all.