//Random Tip
Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow

You are viewing a random entry, refresh your browser to change.

zero out the hard drive /dev/sdc, with progress bar

pv /dev/zero | dd of=/dev/sdc bs=4096


View Comments »




Comments 

Add your comment

Comments are currently disabled
Hey... thanks a lot... for guiding to 'pv'
it is a very useful one... there are situations that there is no way to know when it ends...

i was piping it through 'dd' and giving 'kill -s USR1 $DD-PID' to know how much has been trasfered.

eg. gzip -dc hda1.gz |dd of=/dev/hda1

thanks...
Posted 2008-10-25 16:34:19

Home Latest Browse Top 25 Random Hall Of Fame Contact Submit