Module Name: src
Committed By: kamil
Date: Mon Jan 18 00:21:44 UTC 2016
Modified Files:
src/distrib/sets/lists/man: mi
Added Files:
src/share/man/man4: full.4
Log Message:
Add new man-page full(4) for the /dev/full device
DESCRIPTION
The full device always return ENOSPC on writing,
In all other cases it behaves like the zero(4) device and provides an
infinite stream of zeros.
To generate a diff of this commit:
cvs rdiff -u -r1.1517 -r1.1518 src/distrib/sets/lists/man/mi
cvs rdiff -u -r0 -r1.1 src/share/man/man4/full.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/distrib/sets/lists/man/mi
diff -u src/distrib/sets/lists/man/mi:1.1517 src/distrib/sets/lists/man/mi:1.1518
--- src/distrib/sets/lists/man/mi:1.1517 Tue Jan 5 13:00:29 2016
+++ src/distrib/sets/lists/man/mi Mon Jan 18 00:21:44 2016
@@ -1,4 +1,4 @@
-# $NetBSD: mi,v 1.1517 2016/01/05 13:00:29 nonaka Exp $
+# $NetBSD: mi,v 1.1518 2016/01/18 00:21:44 kamil Exp $
#
# Note: don't delete entries from here - mark them as "obsolete" instead.
#
@@ -1081,6 +1081,7 @@
./usr/share/man/cat4/fujbp.0 man-sys-catman .cat
./usr/share/man/cat4/fujhk.0 man-sys-catman .cat
./usr/share/man/cat4/fujitsu.0 man-obsolete obsolete
+./usr/share/man/cat4/full.0 man-sys-catman .cat
./usr/share/man/cat4/fwhrng.0 man-obsolete obsolete
./usr/share/man/cat4/fwip.0 man-sys-catman .cat
./usr/share/man/cat4/fwiso.0 man-obsolete obsolete
@@ -4153,6 +4154,7 @@
./usr/share/man/html4/fujbp.html man-sys-htmlman html
./usr/share/man/html4/fujhk.html man-sys-htmlman html
./usr/share/man/html4/fujitsu.html man-obsolete obsolete
+./usr/share/man/html4/full.html man-sys-htmlman html
./usr/share/man/html4/fwhrng.html man-obsolete obsolete
./usr/share/man/html4/fwip.html man-sys-htmlman html
./usr/share/man/html4/fwohci.html man-sys-htmlman html
@@ -6997,6 +6999,7 @@
./usr/share/man/man4/fujbp.4 man-sys-man .man
./usr/share/man/man4/fujhk.4 man-sys-man .man
./usr/share/man/man4/fujitsu.4 man-obsolete obsolete
+./usr/share/man/man4/full.4 man-sys-man .man
./usr/share/man/man4/fwhrng.4 man-obsolete obsolete
./usr/share/man/man4/fwip.4 man-sys-man .man
./usr/share/man/man4/fwiso.4 man-obsolete obsolete
Added files:
Index: src/share/man/man4/full.4
diff -u /dev/null src/share/man/man4/full.4:1.1
--- /dev/null Mon Jan 18 00:21:44 2016
+++ src/share/man/man4/full.4 Mon Jan 18 00:21:44 2016
@@ -0,0 +1,56 @@
+.\" $NetBSD: full.4,v 1.1 2016/01/18 00:21:44 kamil Exp $
+.\"
+.\" Copyright (c) 2016 The NetBSD Foundation, Inc.
+.\" All rights reserved.
+.\"
+.\" Redistribution and use in source and binary forms, with or without
+.\" modification, are permitted provided that the following conditions
+.\" are met:
+.\"
+.\" 1. Redistributions of source code must retain the above copyright
+.\" notice, this list of conditions and the following disclaimer.
+.\" 2. Redistributions in binary form must reproduce the above copyright
+.\" notice, this list of conditions and the following disclaimer in
+.\" the documentation and/or other materials provided with the
+.\" distribution.
+.\"
+.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+.\" LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
+.\" FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+.\" COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
+.\" INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING,
+.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
+.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
+.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
+.\" OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+.\" SUCH DAMAGE.
+.\"
+.Dd January 17, 2016
+.Dt FULL 4
+.Os
+.Sh NAME
+.Nm full
+.Nd the full device
+.Sh DESCRIPTION
+The
+.Nm
+device always return
+.Vt ENOSPC
+on writing,
+.Pp
+In all other cases it behaves like the
+.Xr zero 4
+device and provides an infinite stream of zeros.
+.Sh FILES
+.Bl -tag -width /dev/full
+.It Pa /dev/full
+.El
+.Sh HISTORY
+The
+.Nm
+device appeared in
+.Nx 8 .
+.Sh AUTHORS
+.An Christos Zoulas