From owner-svn-src-all@FreeBSD.ORG Wed Apr 30 16:02:23 2014 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B15E4C4C; Wed, 30 Apr 2014 16:02:23 +0000 (UTC) Received: from mail-qc0-x22d.google.com (mail-qc0-x22d.google.com [IPv6:2607:f8b0:400d:c01::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D321133A; Wed, 30 Apr 2014 16:02:23 +0000 (UTC) Received: by mail-qc0-f173.google.com with SMTP id r5so2081778qcx.18 for ; Wed, 30 Apr 2014 09:02:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=ks4kkc5WprQaZ5yxgZxvhTaI99aL/obGH3GeK7KbT2U=; b=RAQ1jdsy/q7/Gwv7McmoJEltLaQHd3J62JGU4Pb8stAIZ+/rcyoFwwjG/G1YCqMayn wX04YNEw86ZM6fk+kirGbFOESw32FFitRDuV3pk3wo1+F1DbUmAf3Bbtx9TdoU0awKOp xaehL0TnFAEAALRhq0vsatwDZPj6FIuFWNLTxIwWhMt/S8WJccEweoLQm867qIJllUeb zGqejJtZ7kGunIPQDeDx0jU1IWDBA4Mgnh3FfxOGJNrGnRD8AQamEViP02dnGDz0xspf dCGL3mMH8ms+c4JurI7apbmG0CwnKrMCdiqQyk8C2cBBD2VCfNGee3KXhC12duXpcFxI /rFQ== MIME-Version: 1.0 X-Received: by 10.229.136.135 with SMTP id r7mr6563291qct.17.1398873742328; Wed, 30 Apr 2014 09:02:22 -0700 (PDT) Sender: mdf356@gmail.com Received: by 10.229.170.195 with HTTP; Wed, 30 Apr 2014 09:02:22 -0700 (PDT) In-Reply-To: <1398869319.22079.54.camel@revolution.hippie.lan> References: <201404300620.s3U6Kmn6074492@svn.freebsd.org> <1398869319.22079.54.camel@revolution.hippie.lan> Date: Wed, 30 Apr 2014 09:02:22 -0700 X-Google-Sender-Auth: I4F_bSavI19fiox7Dkp6pWnxsYg Message-ID: Subject: Re: svn commit: r265132 - in head: share/man/man4 sys/dev/null From: Matthew Fleming To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , Eitan Adler X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Apr 2014 16:02:23 -0000 On Wed, Apr 30, 2014 at 7:48 AM, Ian Lepore wrote: > 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. dd if=/dev/zero | tr "\000" "\377" | dd of= But it's not quite the same. Cheers, matthew