OSDN Git Service

(split) LDP: Update original to LDP v3.50.
[linuxjm/LDP_man-pages.git] / original / man4 / full.4
1 .\" This man-page is Copyright (C) 1997 John S. Kallal
2 .\"
3 .\" %%%LICENSE_START(VERBATIM)
4 .\" Permission is granted to make and distribute verbatim copies of this
5 .\" manual provided the copyright notice and this permission notice are
6 .\" preserved on all copies.
7 .\"
8 .\" Permission is granted to copy and distribute modified versions of this
9 .\" manual under the conditions for verbatim copying, provided that the
10 .\" entire resulting derived work is distributed under the terms of a
11 .\" permission notice identical to this one.
12 .\"
13 .\" Since the Linux kernel and libraries are constantly changing, this
14 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
15 .\" responsibility for errors or omissions, or for damages resulting from
16 .\" the use of the information contained herein.  The author(s) may not
17 .\" have taken the same level of care in the production of this manual,
18 .\" which is licensed free of charge, as they might when working
19 .\" professionally.
20 .\"
21 .\" Formatted or processed versions of this manual, if unaccompanied by
22 .\" the source, must acknowledge the copyright and authors of this work.
23 .\" %%%LICENSE_END
24 .\"
25 .\" correction, aeb, 970825
26 .TH FULL 4 2007-11-24 "Linux" "Linux Programmer's Manual"
27 .SH NAME
28 full \- always full device
29 .SH CONFIGURATION
30 If your system does not have \fI/dev/full\fP created already, it
31 can be created with the following commands:
32 .nf
33
34         mknod \-m 666 /dev/full c 1 7
35         chown root:root /dev/full
36 .fi
37 .SH DESCRIPTION
38 File \fI/dev/full\fP has major device number 1
39 and minor device number 7.
40 .LP
41 Writes to the \fI/dev/full\fP device will fail with an
42 .B ENOSPC
43 error.
44 This can be used to test how a program handles disk-full errors.
45
46 Reads from the \fI/dev/full\fP device will return \\0 characters.
47
48 Seeks on \fI/dev/full\fP will always succeed.
49 .SH FILES
50 /dev/full
51 .SH SEE ALSO
52 .BR mknod (1),
53 .BR null (4),
54 .BR zero (4)