diff options
Diffstat (limited to 'Base/usr/share/man/man4/full.md')
-rw-r--r-- | Base/usr/share/man/man4/full.md | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Base/usr/share/man/man4/full.md b/Base/usr/share/man/man4/full.md new file mode 100644 index 0000000000..a47da13bd7 --- /dev/null +++ b/Base/usr/share/man/man4/full.md @@ -0,0 +1,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) + |