Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jun 2008 22:40:26 +0200 (CEST)
From:      Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
To:        Steve Bertrand <steve@ibctech.ca>
Cc:        freebsd-questions@freebsd.org, Andrew Falanga <af300wsm@gmail.com>
Subject:   Re: Wipe a drive clean
Message-ID:  <20080623223954.R9580@wojtek.tensor.gdynia.pl>
In-Reply-To: <486000FF.2090102@ibctech.ca>
References:  <340a29540806231257x670cf398qc5bf11c396fd0afb@mail.gmail.com> <486000FF.2090102@ibctech.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
>> 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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080623223954.R9580>