]>
Commit | Line | Data |
---|---|---|
c13182ef | 1 | .\" This man-page is Copyright (C) 1997 John S. Kallal |
fea681da | 2 | .\" |
93015253 | 3 | .\" %%%LICENSE_START(VERBATIM) |
fea681da MK |
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. | |
c13182ef | 12 | .\" |
fea681da MK |
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. | |
c13182ef | 20 | .\" |
fea681da MK |
21 | .\" Formatted or processed versions of this manual, if unaccompanied by |
22 | .\" the source, must acknowledge the copyright and authors of this work. | |
4b72fb64 | 23 | .\" %%%LICENSE_END |
fea681da MK |
24 | .\" |
25 | .\" correction, aeb, 970825 | |
9ba01802 | 26 | .TH FULL 4 2019-03-06 "Linux" "Linux Programmer's Manual" |
fea681da MK |
27 | .SH NAME |
28 | full \- always full device | |
3e04005b | 29 | .SH CONFIGURATION |
509e2056 MK |
30 | If your system does not have |
31 | .I /dev/full | |
32 | created already, it | |
3e04005b | 33 | can be created with the following commands: |
c7885256 MK |
34 | .PP |
35 | .in +4n | |
36 | .EX | |
37 | mknod \-m 666 /dev/full c 1 7 | |
38 | chown root:root /dev/full | |
39 | .EE | |
40 | .in | |
fea681da | 41 | .SH DESCRIPTION |
8cef0f2a | 42 | The file |
509e2056 MK |
43 | .I /dev/full |
44 | has major device number 1 | |
fea681da | 45 | and minor device number 7. |
dd3568a1 | 46 | .PP |
509e2056 MK |
47 | Writes to the |
48 | .I /dev/full | |
a23d8efa | 49 | device fail with an |
a9b4ebbc MK |
50 | .B ENOSPC |
51 | error. | |
2e57726e | 52 | This can be used to test how a program handles disk-full errors. |
2dad4c59 | 53 | .PP |
509e2056 MK |
54 | Reads from the |
55 | .I /dev/full | |
d1a71985 | 56 | device will return \e0 characters. |
2dad4c59 | 57 | .PP |
509e2056 MK |
58 | Seeks on |
59 | .I /dev/full | |
60 | will always succeed. | |
fea681da | 61 | .SH FILES |
7f6eb1aa | 62 | .I /dev/full |
47297adb | 63 | .SH SEE ALSO |
fea681da MK |
64 | .BR mknod (1), |
65 | .BR null (4), | |
66 | .BR zero (4) |