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


_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to