I've seen a lot of posts about dd for backing up dead hard drives, etc. I just used it to clear an external hard drive because Darik's Boot and Nuke does not work on external hard drives. I just wanted to post the results on this in case anybody wants to know how long it takes on external drives.
Note: I used the default block size.
Code:
dd if=/dev/urandom of=/dev/sdb
Quote:
dd: writing to `/dev/sdb': No space left on device
625142449+0 records in
625142448+0 records out
320072933376 bytes (320 GB) copied, 182781 seconds, 1.8 MB/s
|
For those of you who have not had math in a while, 182781 seconds = 50.7725 hours, which is just over 2 days. I just started another pass on the drive using a byte size of 1M, so I will post back with the results of it once it is completed (hopefully much quicker)