securitybreach Posted January 12, 2016 Share Posted January 12, 2016 Did you know about dd's built-in progress functionality introduced in coreutils v8.24? Yes, no more kill -USR1 $(pgrep ^dd) to make it spit out the progress and no more piping through pv at the cost of speed! Just use the status=progress option and it will periodically tell you the progress: # dd if=arch.iso of=/dev/sdb bs=4M status=progress 61432564 bytes (61 MB) copied, 3.024017 s, 20.3 MB/s The quote came from the link at the top. Here is the quote from the changelog: "dd accepts a new status=progress level to print data transfer statistics" https://savannah.gnu...p?forum_id=8309 3 Quote Link to comment Share on other sites More sharing options...
amenditman Posted January 12, 2016 Share Posted January 12, 2016 Forgot about that option. Thanks for the reminder! 1 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 12, 2016 Author Share Posted January 12, 2016 Forgot about that option. Thanks for the reminder! Well it was just implemented in the latest release (back in July) Quote Link to comment Share on other sites More sharing options...
amenditman Posted January 12, 2016 Share Posted January 12, 2016 I had read somewhere about it. Probably the release notes or changelogs. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 12, 2016 Author Share Posted January 12, 2016 I had read somewhere about it. Probably the release notes or changelogs. Ah cool Quote Link to comment Share on other sites More sharing options...
crp Posted January 12, 2016 Share Posted January 12, 2016 I just wish I could use it to transfer an OS to another harddrive. Quote Link to comment Share on other sites More sharing options...
amenditman Posted January 12, 2016 Share Posted January 12, 2016 You could use rsync to copy a running OS to another hard drive. 2 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted January 12, 2016 Author Share Posted January 12, 2016 I just wish I could use it to transfer an OS to another harddrive. Actually you can dd to copy one partition to another using dd to copy partition to another partition, while using physical drive 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.