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

Bugfix wrong partition extended #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

whitty
Copy link

@whitty whitty commented Mar 23, 2023

This is a more complicated fix incorporating the change in PR-#32 for issue #31

This assumes there was a reason for preferring reading the partnum from devname instead of dev - it falls back to dev if not resolvable, and falls back to 1 (like the old get_partnum()) if nothing works out.

Use the command-line parameter to determine the partition number, not
the stripped device

Issue ya-mouse#31
Assuming the original code had a reason for using devname prefer to use
devname unless no partition can be deduced.

Issue ya-mouse#31
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.

1 participant