Skip to content

Bugfix wrong partition extended#33

Open
whitty wants to merge 2 commits intoya-mouse:masterfrom
whitty:bugfix_wrong_partition_extended
Open

Bugfix wrong partition extended#33
whitty wants to merge 2 commits intoya-mouse:masterfrom
whitty:bugfix_wrong_partition_extended

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.

whitty added 2 commits March 23, 2023 16:57
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