Debian Codegraph @

upstream/debian-unstable/man4/full.4

raw
1 .\" Copyright 1997, John S. Kallal <[email protected]>
2 .\" Copyright, the authors of the Linux man-pages project
3 .\"
4 .\" SPDX-License-Identifier: Linux-man-pages-copyleft
5 .\"
6 .TH full 4 2026-02-08 "Linux man-pages 6.18"
7 .SH NAME
8 full \- always full device
9 .SH CONFIGURATION
10 If your system does not have
11 .I /dev/full
12 created already, it
13 can be created with the following commands:
14 .P
15 .in +4n
16 .EX
17 mknod \-m 666 /dev/full c 1 7
18 chown root:root /dev/full
19 .EE
20 .in
21 .SH DESCRIPTION
22 The file
23 .I /dev/full
24 has major device number 1
25 and minor device number 7.
26 .P
27 Writes to the
28 .I /dev/full
29 device fail with an
30 .B ENOSPC
31 error.
32 This can be used to test how a program handles disk-full errors.
33 .P
34 Reads from the
35 .I /dev/full
36 device will return \[rs]0 characters.
37 .P
38 Seeks on
39 .I /dev/full
40 will always succeed.
41 .SH FILES
42 .I /dev/full
43 .SH SEE ALSO
44 .BR mknod (1),
45 .BR null (4),
46 .BR zero (4)