resurrecting-open-source-projects / dcfldd

Enhanced version of dd for forensics and security
GNU General Public License v2.0
90 stars 19 forks source link

Where is the Transfer Speed information?! #23

Closed ypy-pasha closed 7 months ago

ypy-pasha commented 7 months ago

This Called Enhanced version of DD, but DD have speed info and this DCFLDD no have! Whats reason for remove this default feature from orginal DD Tool?

davidpolverari commented 7 months ago

Had you given more the a cursory look at the README.md file, you would realize that:

Happy New Year!

davidpolverari commented 7 months ago

Closing, as this was more of a question than an issue, and it was answered above.

PeterSuh-Q3 commented 6 months ago

As you said, dd after 2015 supports the status=progress option, and the current dcfldd displays the created blocks and capacity well regardless of this option.

But I would like to use one more option. bs=8M. If I use this option, transfer progress will not be displayed. The same applies if I use status=progress together.

Can you solve this problem?

davidpolverari commented 6 months ago

I just tested using bs=8M and the block transfer progress is shown as well. Sometimes due to the speed of your hardware and to the size of the input file, you will not see the progress because the copy will be fast. That happened to me with a 3.0G file.

To ensure it works, try copying more blocks from a larger input file, eg:

dcfldd if=/dev/zero of=output bs=8M count=2048

Please let me know if it is a different problem.

PeterSuh-Q3 commented 6 months ago

I'm sorry. I didn't mention my OS environment. I am running it in the terminal app of MacOS Ventura 13.4.1.

The IMG file used is approximately 1.5G. https://github.com/PeterSuh-Q3/tinycore-redpill/releases/download/v1.0.1.0/tinycore-redpill.v1.0.1.0.m-shell.img.gz

I tried using the options you mentioned, but the block transfer progress is not displayed.

Instead of /dev/disk#, I used /dev/rdisk# for faster access, but the results were the same in both attempts.

Finally, I also tried the options you used. Only in this case will the output be normal.

thank you

스크린샷 2024-02-11 오후 10 48 14

I tried varying the values of the bs option without count. The problem occurs only at 8M.

스크린샷 2024-02-11 오후 10 51 24

PeterSuh-Q3 commented 6 months ago

For now, the best compromise is around bs=512k. Changes are in increments of "256 blocks (128Mb)".

스크린샷 2024-02-11 오후 11 20 43

davidpolverari commented 6 months ago

I will have a look at it when I have time.