From owner-freebsd-geom@FreeBSD.ORG Mon Sep 26 21:26:09 2005 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56B2116A41F for ; Mon, 26 Sep 2005 21:26:09 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6BE1143D5A for ; Mon, 26 Sep 2005 21:26:08 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id j8QLQ6r3028722; Mon, 26 Sep 2005 14:26:06 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id j8QLQ540028721; Mon, 26 Sep 2005 14:26:05 -0700 Date: Mon, 26 Sep 2005 14:26:05 -0700 From: Brooks Davis To: "Frank J. Beckmann" Message-ID: <20050926212605.GB20833@odin.ac.hmc.edu> References: <200509262227.46975.frank@barda.agala.net> <20050926205320.GA20833@odin.ac.hmc.edu> <200509262304.40932.frank@barda.agala.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="tjCHc7DPkfUGtrlw" Content-Disposition: inline In-Reply-To: <200509262304.40932.frank@barda.agala.net> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-geom@freebsd.org Subject: Re: What is gzero? X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 21:26:09 -0000 --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--