Wipe a drive clean

Wojciech Puchar wojtek at wojtek.tensor.gdynia.pl
Mon Jun 23 20:40:38 UTC 2008


>> I'm having no luck finding hits for "wipe drive" or "zero drive" in
>> the mail list archives and I can't believe I'm the first to ask this
>> question but here it is anyway.  How can I simply write 0's across a
>> USB thumb drive?  I'd rather not install a port, if I can avoid it.  I
>> was thinking that something like dd would work, but everything I've
>> tried thus far is not working.  What suggestions does everyone have?
>
> Will...
>
> dd if=/dev/zero of=/dev/disk
>

dd if=/dev/zero of=/dev/disk bs=1m

bs may be smaller but not the default 512 bytes. it's a block size. having 
very small block will make the process slow

> ...work?
>
> Steve
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
>
>


More information about the freebsd-questions mailing list