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

Implement get_partition_number() to allow for easy testing and trap problems #265

Merged
merged 1 commit into from Jun 28, 2013

Conversation

dagwieers
Copy link
Contributor

This function now traps when the partition number is not a number or spans more than two characters. Since Relax-and-Recover does not support more than 9 partitions we are not creating another artificial limit. However if we find a better way to get the partition number from inconsistent devices (those that add a partition number directly to a trailing number), I am all for that.

This pull-request relates to #183 and #263

…roblems

This function now traps when the partition number is not a number or spans more than two characters. Since Relax-and-Recover does not support more than 9 partitions we are not creating another artificial limit. However if we find a better way to get the partition number from inconsistent devices (those that add a partition number directly to a trailing number), I am all for that.

This pull-request relates to rear#183
@ghost ghost assigned dagwieers Jun 28, 2013
dagwieers added a commit that referenced this pull request Jun 28, 2013
Implement get_partition_number() to allow for easy testing and trap problems
@dagwieers dagwieers merged commit 9b2530d into rear:master Jun 28, 2013
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.

None yet

1 participant