Date: Thu, 1 May 2014 22:33:21 -0700 From: Eitan Adler <eadler@freebsd.org> To: Jung-uk Kim <jkim@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: <CAF6rxg=3KU99V9ax0THVWJwjF1X6ZXkwZCRnbxYeWYiW4rbQ=Q@mail.gmail.com> In-Reply-To: <53627D8C.3030404@FreeBSD.org> References: <201404300620.s3U6Kmn6074492@svn.freebsd.org> <5361512A.7070205@FreeBSD.org> <53627D8C.3030404@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1 May 2014 09:59, Jung-uk Kim <jkim@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAF6rxg=3KU99V9ax0THVWJwjF1X6ZXkwZCRnbxYeWYiW4rbQ=Q>