What is gzero?

Frank J. Beckmann frank at barda.agala.net
Wed Oct 19 17:11:58 PDT 2005


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


More information about the freebsd-geom mailing list