Patch for allowing /dev/... for -t target device #4
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I'm sure there are others than me who also type /dev/ automatically when interacting with devices and to help those people I created this simple but very useful patch. I'm sure there are better ways to do it and if one is figured out feel free to reject this patch. Also there might be similiar problems elsewhere in the clonezilla and I fixed this one because it's the one I encountered, someone with more knowledge should find the others if they feel it's worth the effort.
tl;dr
Allow for -t /dev/sda instead of just -t sda when running ocs-onthefly.