Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 14:26:05 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        "Frank J. Beckmann" <frank@barda.agala.net>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: What is gzero?
Message-ID:  <20050926212605.GB20833@odin.ac.hmc.edu>
In-Reply-To: <200509262304.40932.frank@barda.agala.net>
References:  <200509262227.46975.frank@barda.agala.net> <20050926205320.GA20833@odin.ac.hmc.edu> <200509262304.40932.frank@barda.agala.net>

next in thread | previous in thread | raw e-mail | index | archive | help

--tjCHc7DPkfUGtrlw
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 26, 2005 at 11:04:36PM +0200, Frank J. Beckmann wrote:
> Hi,
>=20
> am Montag, 26. September 2005 22:53 schrieb Brooks Davis:
> > On Mon, Sep 26, 2005 at 10:27:44PM +0200, Frank J. Beckmann wrote:
> > > Hi,
> > >
> > > maybe this is a kind of stupid question, but what is the device gzero
> > > for? When should I use it instead of /dev/zero?
> >
> > It's to allow you to emulate a really big (41PB) fake disk for testing.
>=20
> Wow, that answer was fast...
>=20
> Sounds like an interesting device, but how do I use it? I guess I have to=
=20
> learn much about geom yet.

Just load or compile in the module.  A device will appear.  Note that
such a device is only useful for testing since reads all return zeros
and writes are no-ops.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--tjCHc7DPkfUGtrlw
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFDOGdtXY6L6fI4GtQRAhk4AJ44VzKJ7ask0IggfhSpGN4v4K0ofwCdGpN+
M7HQKX4xBbf15Xc6tRvJY90=
=yIlj
-----END PGP SIGNATURE-----

--tjCHc7DPkfUGtrlw--



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