Skip to content

-D flag fails with error when run on Linux. #48

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

Merged
merged 1 commit into from
Feb 20, 2019

Conversation

zgypa
Copy link

@zgypa zgypa commented Jan 1, 2019

Using the "1m" abbreviation for block size on dd is not a good idea, as various implementations of dd make use of different abbreviations. Instaed, it seems like both dd implementations take bytes as arguments. So translating 1m to bytes seem to be an easy solution.

replaced obs=1m with obs=1048576 (same for bs=) to be compatible with both BSD and Linux versions of dd.

…inux with -D flag:

replaced obs=1m with obs=1048576 (same for bs=) to be compatible with both BSD and Linux versions of dd.
@allanjude allanjude merged commit 1cc89cc into allanjude:master Feb 20, 2019
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.

2 participants