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

Apologize if it seem unrelated to this place (it's not likely bug report) #5078

Open
1 task done
abdulbadii opened this issue Dec 19, 2024 · 0 comments
Open
1 task done
Labels

Comments

@abdulbadii
Copy link

Description / Steps to reproduce the issue

Apologize if it seem improper and unrelated to this place but can't help to ask a salvation from a painful confusing

as Msys2/Mingw64 mainstream give us dd
I've tried to use it to get a blank file;

dd if=/dev/zero of=test.img bs=4M count=473
but failed
so research end up with http://www.chrysocome.net/downloads/ddrelease64.exe
one fork/version would perform it, with ddrelease64 name renamed to mere dd

But on applying it here, ie. in Msys2 environment, and as data or workspace in ext4 Linux' FS so move it by tool Ext2FS file manager, and did


./dd.exe if=//dev//zero' of=iso.img bs=4M count=473
./dd.exe if='\/dev\/zero' of=iso.img bs=4M count=473
./dd.exe if=\dev\zero of=iso.img bs=4M count=473
./dd.exe if=\\dev\\zero of=iso.img bs=4M count=473

..so on
by such literal CLI syntax which have failed too

So seems the author does mean it'd work only on Windows' native console, as I strongly guess..
go for
H:>dd.exe if=/dev/zero' of=iso.img bs=4M count=473
and correct... it works perfect

So how could it be quite badly fail in Bash here even after ~10 CLI differebt syntax tried
How the real correct solution ?

Expected behavior

dd usual working message output

Actual behavior

$ ./dd.exe if=/dev/zero of=iso.img bs=4M count=473
rawwrite dd for windows version 1.0beta1 WIN64.
Written by John Newbigin <[email protected]>
This program is covered by terms of the GPL Version 2.

Error opening input file: 3 The system cannot find the path specified.

Verification

Windows Version

MSYS_NT-10.0-22621

Are you willing to submit a PR?

no

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant