Re: /dev/gzero vs /dev/zero

From: <takawata_at_jp.freebsd.org>
Date: Wed, 01 Aug 2007 18:31:33 +0900
In message <20070801092320.GA31415_at_stud.ntnu.no>, Ulf Lilleengen wrote:
>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 atta
>ch
>other GEOM classes to it.
>
>But to just get zeroes, using /dev/zero is all you need :)

 /dev/zero  has infinite length. but /dev/gzero has *just* 1 EB length, it is
far more shorter.
Received on Wed Aug 01 2007 - 07:40:22 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:15 UTC