blob: a47da13bd79b3d85433db92318cc2116e0802750 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
## Name
full - always full device
## Description
`/dev/full` is a character device which is always full.
Reading from `/dev/full` returns '\0' bytes and exits with status 0.
Writing to `/dev/full` fails with ENOSPC error.
To create it manually:
```sh
mknod /dev/full c 1 7
chmod 666 /dev/full
```
## Files
* /dev/full
## Examples
```sh
$ head -c 8 /dev/full | hexdump
00 00 00 00 00 00 00 00
```
## See also
* [`null`(4)](../man4/null.md)
* [`zero`(4)](../man4/zero.md)
|