From: John Doe <jdmls@xxxxxxxxx> > From: chloe K > > What is the best practice to remove all data in the disk? > > ls fdisk ok or use dd > Maybe something like (replace the ?): > - fast but not secure: > dd if=/dev/zero of=/dev/?d? bs=4096 > - slow but more secure: > dd if=/dev/zero of=/dev/?d? bs=4096 > - n times slower but n times more secure: > for ((i=1; i<=n; i++)); do dd if=/dev/zero of=/dev/?d? bs=4096; done Oops, for the slow procedures, it is /dev/random instead of /dev/zero... JD _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos