From owner-freebsd-current@FreeBSD.ORG Wed Aug 1 09:23:16 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E25AF16A417 for ; Wed, 1 Aug 2007 09:23:16 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from signal.itea.ntnu.no (signal.itea.ntnu.no [129.241.190.231]) by mx1.freebsd.org (Postfix) with ESMTP id 33C4C13C465 for ; Wed, 1 Aug 2007 09:23:16 +0000 (UTC) (envelope-from lulf@stud.ntnu.no) Received: from localhost (localhost [127.0.0.1]) by signal.itea.ntnu.no (Postfix) with ESMTP id BC4AA375B1 for ; Wed, 1 Aug 2007 11:23:14 +0200 (CEST) Received: from gaupe.stud.ntnu.no (gaupe.stud.ntnu.no [129.241.56.184]) by signal.itea.ntnu.no (Postfix) with ESMTP for ; Wed, 1 Aug 2007 11:23:10 +0200 (CEST) Received: by gaupe.stud.ntnu.no (Postfix, from userid 2312) id B0D22D003E; Wed, 1 Aug 2007 11:23:20 +0200 (CEST) Date: Wed, 1 Aug 2007 11:23:20 +0200 From: Ulf Lilleengen To: freebsd-current@freebsd.org Message-ID: <20070801092320.GA31415@stud.ntnu.no> References: <20070801014957.GH37494@obelix.dsto.defence.gov.au> <46AFE7A1.9000800@delphij.net> <20070801020623.GK37494@obelix.dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070801020623.GK37494@obelix.dsto.defence.gov.au> User-Agent: Mutt/1.5.9i X-Content-Scanned: with sophos and spamassassin at mailgw.ntnu.no. Subject: Re: /dev/gzero vs /dev/zero X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Aug 2007 09:23:17 -0000 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