Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 02:11:42 +0200
From:      "Frank J. Beckmann" <frank@barda.agala.net>
To:        freebsd-geom@freebsd.org
Subject:   Re: What is gzero?
Message-ID:  <200510200211.44650.frank@barda.agala.net>
In-Reply-To: <20050926212605.GB20833@odin.ac.hmc.edu>
References:  <200509262227.46975.frank@barda.agala.net> <200509262304.40932.frank@barda.agala.net> <20050926212605.GB20833@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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



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