Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 2014 12:59:56 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Eitan Adler <eadler@FreeBSD.org>, src-committers@freebsd.org,  svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r265132 - in head: share/man/man4 sys/dev/null
Message-ID:  <53627D8C.3030404@FreeBSD.org>
In-Reply-To: <5361512A.7070205@FreeBSD.org>
References:  <201404300620.s3U6Kmn6074492@svn.freebsd.org> <5361512A.7070205@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----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.

% grep -n 'full\.4' share/man/man4/Makefile
822:MLINKS+=lindev.4 full.4

If we're really making it a standard feature, then lindev must be
removed (or at least disconnected from build), __FreeBSD_version must
be bumped, and a new UPDATING entry for the change is required.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQEcBAEBAgAGBQJTYn2MAAoJEHyflib82/FGDW0H+wUW91tsvm3jwzn736MmM3R/
jyBKP6HBiUYfpF9tIQQMcnoGq1+xsWBJfRzn1sK3IdFUaP9R0HFwAz2IEpGQ4Lsy
SeincVpI+T5FkSiZhnWYke4W3XsCg2JAeUKVbSg6u9SgxE3RTGdYBmHwSfHOEGYn
Q3kqSAjq44F7jJRl2DNyo1AT8/IYfws2IrEM5vakfry/iRrMKEMt7ICCKK3v1TA8
dJoTxoM3aW9NQFvk1vPe6s4TVQEpnuWhoadRCuUQtZQ7skoONpmXNObWwCyoWbq5
zUjtEea60bXXMEo84ruVN/3hCHZqRAXiWhYMTf3cg1QirV9upshP0IOSaGo/Q4o=
=drUB
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53627D8C.3030404>