Date: Wed, 01 Aug 2007 12:51:05 +0200 From: Ivan Voras <ivoras@fer.hr> To: freebsd-current@freebsd.org Subject: Re: /dev/gzero vs /dev/zero Message-ID: <f8poip$amj$1@sea.gmane.org> In-Reply-To: <20070801014957.GH37494@obelix.dsto.defence.gov.au> References: <20070801014957.GH37494@obelix.dsto.defence.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?f8poip$amj$1>