svn commit: r265132 - in head: share/man/man4 sys/dev/null

Eitan Adler eadler at freebsd.org
Fri May 2 05:33:53 UTC 2014


On 1 May 2014 09:59, Jung-uk Kim <jkim at freebsd.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 2014-04-30 15:38:18 -0400, ?? wrote:
>> On 2014-04-30 02:20:48 -0400, ?? 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.
>>>
>>> Reviewed by: jhibbits Discussed with:        rpaulo
>> ... Please see lindev(4).
>
> I guess I wasn't loud enough.  We already had the exact same feature
> via lindev(4).  In fact, now it panics if we load both, i.e.,
> "make_dev_credv: bad si_name (error=17, si_name=full)".  Please see
> sys/dev/lindev/full.c.  Also, the manual page is still symlinked from
> lindev.4.

Thanks for letting me know about lindev(4).  I've brought up /dev/full
to a few people and no one else mentioned it.  Since /dev/full is not
linux specific and code/binary size addition is minor I've opted to
just remove lindev and leave my implementation.


-- 
Eitan Adler
Source, Ports, Doc committer
Bugmeister, Ports Security teams


More information about the svn-src-head mailing list