From owner-freebsd-current@FreeBSD.ORG Wed Aug 1 10:51:27 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 340B916A417 for ; Wed, 1 Aug 2007 10:51:27 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E0B4D13C46B for ; Wed, 1 Aug 2007 10:51:26 +0000 (UTC) (envelope-from freebsd-current@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IGBnQ-0006oS-1I for freebsd-current@freebsd.org; Wed, 01 Aug 2007 12:51:16 +0200 Received: from 78-1-114-214.adsl.net.t-com.hr ([78.1.114.214]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Aug 2007 12:51:16 +0200 Received: from ivoras by 78-1-114-214.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 01 Aug 2007 12:51:16 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-current@freebsd.org From: Ivan Voras Date: Wed, 01 Aug 2007 12:51:05 +0200 Lines: 34 Message-ID: References: <20070801014957.GH37494@obelix.dsto.defence.gov.au> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigB0883C588CCA308EF5AF5EA5" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-114-214.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: <20070801014957.GH37494@obelix.dsto.defence.gov.au> X-Enigmail-Version: 0.94.3.0 Sender: news 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 10:51:27 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB0883C588CCA308EF5AF5EA5 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Wilkinson, Alex wrote: > Why would I use one over the other ? /dev/gzero simulates a disk drive, /dev/zero is a regular amorphous character device. It's sometimes useful to have a disk-drive-like device that can accept anything (the fabled write-only media!), mostly for development. Also, gzero can be configured to "be made of" not only zeroes (\0) but any other byte value, so it can be useful if you need "something like /dev/zero" but not with actual ASCII 0 bytes. --------------enigB0883C588CCA308EF5AF5EA5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGsGWZldnAQVacBcgRAr0IAKDQGt/gPInV2m5PgQYzthKEo2JbXACgrjy6 JarPchK5nUo0Gkp8/78m/cY= =CNBc -----END PGP SIGNATURE----- --------------enigB0883C588CCA308EF5AF5EA5--