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

Build [package name] for [environment] #22843

Open
abdulbadii opened this issue Dec 20, 2024 · 0 comments
Open

Build [package name] for [environment] #22843

abdulbadii opened this issue Dec 20, 2024 · 0 comments

Comments

@abdulbadii
Copy link

Package name

Bash

For which environment do you need the package?

MINGW64

Provide a brief description why you need this package in the selected environment

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 provide us dd beside Bash,

I've tried to use it to get a blank file;
dd if=/dev/zero of=test.img bs=4M count=473
which is incapable of

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 I strongly guess.. it seems the author does mean it'd work surely only on Windows' native console, so go for it click cmd shortcut,

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

and.. correctly 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 ?

$ ./dd.exe if=/dev/zero of=iso.img bs=4M count=473
rawwrite dd for windows version 1.0beta1 WIN64.
Written by John Newbigin jnewbigin@chrysocome.net
This program is covered by terms of the GPL Version 2.

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

Version

$ uname
MINGW64_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
Projects
None yet
Development

No branches or pull requests

1 participant