Date: Wed, 30 Apr 2014 08:48:39 -0600 From: Ian Lepore <ian@FreeBSD.org> To: Eitan Adler <eadler@FreeBSD.org> Cc: svn-src-head@FreeBSD.org, svn-src-all@FreeBSD.org, src-committers@FreeBSD.org Subject: Re: svn commit: r265132 - in head: share/man/man4 sys/dev/null Message-ID: <1398869319.22079.54.camel@revolution.hippie.lan> In-Reply-To: <201404300620.s3U6Kmn6074492@svn.freebsd.org> References: <201404300620.s3U6Kmn6074492@svn.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 2014-04-30 at 06:20 +0000, Eitan Adler wrote: > Author: eadler > Date: Wed Apr 30 06:20:48 2014 > New Revision: 265132 > URL: http://svnweb.freebsd.org/changeset/base/265132 > > Log: > Add a /dev/full device. > > /dev/full is similar to /dev/zero except it always returns > ENOSPC when you attempt to write to it. > For some reason this reminded me of something I've been wanting for a while but never get around to writing... /dev/ones, it's just like /dev/zero except it returns 0xff bytes. Useful for dd'ing to wipe out flash-based media. -- Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1398869319.22079.54.camel>