Re: help fdisk and dd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux