On 1 May 2014 09:59, Jung-uk Kim <j...@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 _______________________________________________ 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"