From owner-freebsd-geom@FreeBSD.ORG Thu Oct 20 00:11:58 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 AA2CB16A41F for ; Thu, 20 Oct 2005 00:11:58 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (Ib4b4.i.pppool.de [85.73.180.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id A661E43D5A for ; Thu, 20 Oct 2005 00:11:56 +0000 (GMT) (envelope-from frank@barda.agala.net) Received: from mail.agala.net (barda [192.168.20.1]) by barda.agala.net (Postfix) with ESMTP id B1DC4119CC6 for ; Thu, 20 Oct 2005 02:11:57 +0200 (CEST) Received: from abakus.agala.net (abakus.agala.net [192.168.223.2]) by mail.agala.net (Postfix) with ESMTP id D437C119CC4 for ; Thu, 20 Oct 2005 02:11:56 +0200 (CEST) From: "Frank J. Beckmann" Organization: agala naga doron To: freebsd-geom@freebsd.org Date: Thu, 20 Oct 2005 02:11:42 +0200 User-Agent: KMail/1.8.2 References: <200509262227.46975.frank@barda.agala.net> <200509262304.40932.frank@barda.agala.net> <20050926212605.GB20833@odin.ac.hmc.edu> In-Reply-To: <20050926212605.GB20833@odin.ac.hmc.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200510200211.44650.frank@barda.agala.net> X-Scanned-By: emfilter 1.0 @ 192.168.20.1 X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Oct 20 02:11:59 2005 X-DSPAM-Confidence: 0.9996 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 218,4356e0cf286891199052252 X-DSPAM-Factors: 27, Disposition-Notification-To*Beckmann+frank, 0.00020, To*freebsd+org, 0.00020, From*Frank+Beckmann, 0.00020, Received*freebsd.org, 0.00020, Disposition-Notification-To*barda, 0.00020, Disposition-Notification-To*frank, 0.00020, From*frank+barda, 0.00020, Disposition-Notification-To*Frank, 0.00020, 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: Thu, 20 Oct 2005 00:11:58 -0000 Hi, am Montag, 26. September 2005 23:26 schrieb Brooks Davis: > On Mon, Sep 26, 2005 at 11:04:36PM +0200, Frank J. Beckmann wrote: > > am Montag, 26. September 2005 22:53 schrieb Brooks Davis: > > > On Mon, Sep 26, 2005 at 10:27:44PM +0200, Frank J. Beckmann wrote: > > > > 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. > > > > Wow, that answer was fast... > > > > Sounds like an interesting device, but how do I use it? I guess I have to > > 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. I played a bit with it. It doesn't do much but it helps testing. Thank you. -- Frank