2007-04-12 22:42:49 +00:00
|
|
|
.\" -*- nroff -*-
|
2004-11-03 13:51:07 +00:00
|
|
|
.\"
|
2007-04-12 22:42:49 +00:00
|
|
|
.\" This man-page is Copyright (C) 1997 John S. Kallal
|
2004-11-03 13:51:07 +00:00
|
|
|
.\"
|
|
|
|
.\" Permission is granted to make and distribute verbatim copies of this
|
|
|
|
.\" manual provided the copyright notice and this permission notice are
|
|
|
|
.\" preserved on all copies.
|
|
|
|
.\"
|
|
|
|
.\" Permission is granted to copy and distribute modified versions of this
|
|
|
|
.\" manual under the conditions for verbatim copying, provided that the
|
|
|
|
.\" entire resulting derived work is distributed under the terms of a
|
|
|
|
.\" permission notice identical to this one.
|
2007-04-12 22:42:49 +00:00
|
|
|
.\"
|
2004-11-03 13:51:07 +00:00
|
|
|
.\" Since the Linux kernel and libraries are constantly changing, this
|
|
|
|
.\" manual page may be incorrect or out-of-date. The author(s) assume no
|
|
|
|
.\" responsibility for errors or omissions, or for damages resulting from
|
|
|
|
.\" the use of the information contained herein. The author(s) may not
|
|
|
|
.\" have taken the same level of care in the production of this manual,
|
|
|
|
.\" which is licensed free of charge, as they might when working
|
|
|
|
.\" professionally.
|
2007-04-12 22:42:49 +00:00
|
|
|
.\"
|
2004-11-03 13:51:07 +00:00
|
|
|
.\" Formatted or processed versions of this manual, if unaccompanied by
|
|
|
|
.\" the source, must acknowledge the copyright and authors of this work.
|
|
|
|
.\"
|
|
|
|
.\" correction, aeb, 970825
|
2007-11-24 07:49:41 +00:00
|
|
|
.TH FULL 4 2007-11-24 "Linux" "Linux Programmer's Manual"
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH NAME
|
|
|
|
full \- always full device
|
2007-11-23 07:28:46 +00:00
|
|
|
.SH CONFIGURATION
|
|
|
|
If your system does not have \fI/dev/full\fP created already, it
|
|
|
|
can be created with the following commands:
|
|
|
|
.nf
|
|
|
|
|
|
|
|
mknod \-m 666 /dev/full c 1 7
|
|
|
|
chown root:root /dev/full
|
|
|
|
.fi
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH DESCRIPTION
|
2007-04-12 22:42:49 +00:00
|
|
|
File \fI/dev/full\fP has major device number 1
|
2004-11-03 13:51:07 +00:00
|
|
|
and minor device number 7.
|
2007-04-12 22:42:49 +00:00
|
|
|
.LP
|
2007-07-09 20:07:44 +00:00
|
|
|
Writes to the \fI/dev/full\fP device will fail with an
|
|
|
|
.B ENOSPC
|
|
|
|
error.
|
2006-04-15 00:13:46 +00:00
|
|
|
This can be used to test how a program handles disk-full errors.
|
2004-11-03 13:51:07 +00:00
|
|
|
|
2005-11-02 13:55:25 +00:00
|
|
|
Reads from the \fI/dev/full\fP device will return \\0 characters.
|
2004-11-03 13:51:07 +00:00
|
|
|
|
2005-11-02 13:55:25 +00:00
|
|
|
Seeks on \fI/dev/full\fP will always succeed.
|
2004-11-03 13:51:07 +00:00
|
|
|
.SH FILES
|
|
|
|
/dev/full
|
|
|
|
.SH "SEE ALSO"
|
|
|
|
.BR mknod (1),
|
|
|
|
.BR null (4),
|
|
|
|
.BR zero (4)
|