OSDN Git Service

LDP: Update original to LDP v3.79
[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
31 .I /dev/full
32 created already, it
33 can be created with the following commands:
34 .nf
35
36         mknod \-m 666 /dev/full c 1 7
37         chown root:root /dev/full
38 .fi
39 .SH DESCRIPTION
40 File
41 .I /dev/full
42 has major device number 1
43 and minor device number 7.
44 .LP
45 Writes to the
46 .I /dev/full
47 device will fail with an
48 .B ENOSPC
49 error.
50 This can be used to test how a program handles disk-full errors.
51
52 Reads from the
53 .I /dev/full
54 device will return \\0 characters.
55
56 Seeks on
57 .I /dev/full
58 will always succeed.
59 .SH FILES
60 /dev/full
61 .SH SEE ALSO
62 .BR mknod (1),
63 .BR null (4),
64 .BR zero (4)
65 .SH COLOPHON
66 This page is part of release 3.79 of the Linux
67 .I man-pages
68 project.
69 A description of the project,
70 information about reporting bugs,
71 and the latest version of this page,
72 can be found at
73 \%http://www.kernel.org/doc/man\-pages/.