man-pages/man4/full.4.html
2021-03-31 01:06:50 +01:00

104 lines
2.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><HEAD><TITLE>Man page of FULL</TITLE>
</HEAD><BODY>
<H1>FULL</H1>
Section: Linux Programmer's Manual (4)<BR>Updated: 2019-03-06<BR><A HREF="#index">Index</A>
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
<A NAME="lbAB">&nbsp;</A>
<H2>NAME</H2>
full - always full device
<A NAME="lbAC">&nbsp;</A>
<H2>CONFIGURATION</H2>
If your system does not have
<I>/dev/full</I>
created already, it
can be created with the following commands:
<P>
mknod -m 666 /dev/full c 1 7
chown root:root /dev/full
<A NAME="lbAD">&nbsp;</A>
<H2>DESCRIPTION</H2>
The file
<I>/dev/full</I>
has major device number 1
and minor device number 7.
<P>
Writes to the
<I>/dev/full</I>
device fail with an
<B>ENOSPC</B>
error.
This can be used to test how a program handles disk-full errors.
<P>
Reads from the
<I>/dev/full</I>
device will return \0 characters.
<P>
Seeks on
<I>/dev/full</I>
will always succeed.
<A NAME="lbAE">&nbsp;</A>
<H2>FILES</H2>
<I>/dev/full</I>
<A NAME="lbAF">&nbsp;</A>
<H2>SEE ALSO</H2>
<B><A HREF="/cgi-bin/man/man2html?1+mknod">mknod</A></B>(1),
<B><A HREF="/cgi-bin/man/man2html?4+null">null</A></B>(4),
<B><A HREF="/cgi-bin/man/man2html?4+zero">zero</A></B>(4)
<A NAME="lbAG">&nbsp;</A>
<H2>COLOPHON</H2>
This page is part of release 5.05 of the Linux
<I>man-pages</I>
project.
A description of the project,
information about reporting bugs,
and the latest version of this page,
can be found at
<A HREF="https://www.kernel.org/doc/man-pages/.">https://www.kernel.org/doc/man-pages/.</A>
<P>
<HR>
<A NAME="index">&nbsp;</A><H2>Index</H2>
<DL>
<DT id="1"><A HREF="#lbAB">NAME</A><DD>
<DT id="2"><A HREF="#lbAC">CONFIGURATION</A><DD>
<DT id="3"><A HREF="#lbAD">DESCRIPTION</A><DD>
<DT id="4"><A HREF="#lbAE">FILES</A><DD>
<DT id="5"><A HREF="#lbAF">SEE ALSO</A><DD>
<DT id="6"><A HREF="#lbAG">COLOPHON</A><DD>
</DL>
<HR>
This document was created by
<A HREF="/cgi-bin/man/man2html">man2html</A>,
using the manual pages.<BR>
Time: 00:06:01 GMT, March 31, 2021
</BODY>
</HTML>