MRB zeroing
Bill Jonas
plug-discuss@lists.plug.phoenix.az.us
Mon, 2 Dec 2002 12:33:31 -0700
--xOS8do0ZRfB5pORP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Mon, Dec 02, 2002 at 09:50:57AM -0700, Clayton Stapleton wrote:
> dd if=3D/dev/zero of=3D/dev/hda ibs=3D512 obs=3D512
You'll want to do it as follows:
dd if=3D/dev/zero of=3D/dev/hda bs=3D512 count=3D1
If ibs and obs are the same, you can just use bs instead of using both.
(The bs option sets both ibs and obs.) You *really* want to specify
"count=3D1", or else you will overwrite your entire disk with zeros, 512
bytes at a time. Be very careful with this command.
--=20
Bill Jonas * bill@billjonas.com * http://www.billjonas.com/
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- Benjamin Franklin
--xOS8do0ZRfB5pORP
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE967WKdmHcUxFvDL0RAsoKAJ9fLU0rFF458pOVwW3BnvfBmd1zRwCfUC+/
IqLap+iFsaAlFg2i4rbojOg=
=WBRB
-----END PGP SIGNATURE-----
--xOS8do0ZRfB5pORP--