dd if=/dev/zero of=/dev/sdb bs=1MB
NOTE: be careful - do this on the wrong device - and your data is gone capoot!
open() system call.
dd if=/dev/zero of=/dev/sdb bs=1MB oflag=direct
NOTE: be careful - do this on the wrong device - and your data is gone capoot!