Re: Dumping /dev/zero to the console

Andrew E. Mileski (aem@nic.ott.hookup.net)
Mon, 22 Jul 1996 01:52:27 -0400 (EDT)


-----BEGIN PGP SIGNED MESSAGE-----

> >> On linux console, even as a non-priv user, do a:
> >>
> >> % dd if=/dev/zero bs=1024k
> >
> >That's basically the same as the "grep whatever /dev/zero" discussed
> >on this list a while back.
>
> No it is not the same. The "grep whatever /dev/zero" sucks up all mem
> if you don't have sensible limits, but the above doesn't. In fact it
> doesn't require /dev/zero at all. A 1MB zeroed block works equally as well.

For what it's worth, this has absolutely no effect on my machine when
using a block size of 1024 (not 1024k). I let it run for quite a while
(forgot it was running), and stopped it after about 90Gb.

- --
Andrew E. Mileski
mailto:aem@ott.hookup.net http://www.redhat.com/~aem/
Linux Plug-and-Play Project Leader http://www.redhat.com/linux-info/pnp/
PGP Public Keys: mail with 'Subject: help' to pgp-public-keys@keys.pgp.net

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2

iQCVAwUBMfMXEniRpcRMqyR5AQFK5QP8DohT5Yt9Q0WRdpumlCe4ekgGsQfdcHqK
B0Mx19iAa6vVBHM13XZijvREx9Fx7ZhMufLJTTyP1Q+d+LM8c3JSIdroVqz/UdTX
jbXlnVV5U3wIFFQbr1Mqc1E2hVP0yd76dp3IqCrcxqiFIRHtOLJDdxicU/FvjqCk
kXVZb+dXnYk=
=WVzz
-----END PGP SIGNATURE-----