Jump to content

Talk:dd (Unix)

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Learn The DD Command External Reference

[edit]

This link is to copyrighted material. It is my material, copyrighted by me. I give permission to anyone using Wikipedia to use the linked information in any way he/she sees fit. However, if one uses the material, he/she must not charge money for any derivative writings. [user: AwesomeMachine]

improve text / examples

[edit]

I just /dev/zero'ed some harddisks and i found out, that the blocksize has a great performance impact

With defautl bs: 15MB/s

With bs=100M: 65MB/s

Maybe also mention that sending SIGUSR1 to gnu dd will make it print progress and writing speed.

Example code:

while sleep 1s; do killall dd -USR1 2> /dev/null; done &

dd if=/dev/zero of=/dev/hdb bs=100M

name of the command dd

[edit]

There is a talk on blacklisted pupular video site by Hedrik Jan Thomassen about UNIX history. He mention (30:37) about why dd is called dd (this could be a joke from his side). Full title of the video is: T-Dose 2016, From UNIX to Linux, a time lapse of 45 years, Hendrik Jan Thomassen

You mean that it is called as DD, instead CC (Convert and Copy a file), because the CC was already taken for "C Compiler" and so on it was named as DD by shifting both alphabets by one and it became DD? --Golftheman (talk) 21:00, 8 November 2023 (UTC)[reply]

Count parameter optional?

[edit]

I infer from the examples under the ‘Data transfer forms of dd’ heading that if the count parameter is missing, the entire input is transferred. My own tests seem to confirm this. If this is correct and standard behaviour, the article should make this more explicit. — Preceding unsigned comment added by 77.61.180.106 (talk) 15:38, 23 April 2022 (UTC)[reply]