Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Aug 2007 11:23:20 +0200
From:      Ulf Lilleengen <lulf@stud.ntnu.no>
To:        freebsd-current@freebsd.org
Subject:   Re: /dev/gzero vs /dev/zero
Message-ID:  <20070801092320.GA31415@stud.ntnu.no>
In-Reply-To: <20070801020623.GK37494@obelix.dsto.defence.gov.au>
References:  <20070801014957.GH37494@obelix.dsto.defence.gov.au> <46AFE7A1.9000800@delphij.net> <20070801020623.GK37494@obelix.dsto.defence.gov.au>

next in thread | previous in thread | raw e-mail | index | archive | help
On ons, aug 01, 2007 at 10:06:23 +0800, Wilkinson, Alex wrote:
>     0n Wed, Aug 01, 2007 at 09:53:37AM +0800, LI Xin wrote: 
> 
>     >Wilkinson, Alex wrote:
>     >> Why would I use one over the other ?
>     >
>     >No, gzero is used with geom_zero and you should not use it directly.
> 
> 
> Huh ? I know this ? But why would one use gzero and not /dev/zero ?
> 
/dev/gzero is a GEOM provider, and /dev/zero is not. This means you could attach
other GEOM classes to it.

But to just get zeroes, using /dev/zero is all you need :)

-- 
Ulf Lilleengen



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