{
    "mode": "man",
    "parameter": "zero",
    "section": "4",
    "url": "https://www.chedong.com/phpMan.php/man/zero/4/json",
    "generated": "2026-06-16T06:16:56Z",
    "sections": {
        "NAME": {
            "content": "null, zero - data sink\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "Data written to the /dev/null and /dev/zero special files is discarded.\n\nReads  from /dev/null always return end of file (i.e., read(2) returns 0), whereas reads from\n/dev/zero always return bytes containing zero ('\\0' characters).\n\nThese devices are typically created by:\n\nmknod -m 666 /dev/null c 1 3\nmknod -m 666 /dev/zero c 1 5\nchown root:root /dev/null /dev/zero\n",
            "subsections": []
        },
        "FILES": {
            "content": "/dev/null\n/dev/zero\n",
            "subsections": []
        },
        "NOTES": {
            "content": "If these devices are not writable  and  readable  for  all  users,  many  programs  will  act\nstrangely.\n\nSince Linux 2.6.31, reads from /dev/zero are interruptible by signals.  (This change was made\nto help with bad latencies for large reads from /dev/zero.)\n",
            "subsections": []
        },
        "SEE ALSO": {
            "content": "chown(1), mknod(1), full(4)\n",
            "subsections": []
        },
        "COLOPHON": {
            "content": "This page is part of release 5.10 of the Linux  man-pages  project.   A  description  of  the\nproject,  information about reporting bugs, and the latest version of this page, can be found\nat https://www.kernel.org/doc/man-pages/.\n\n\n\nLinux                                        2015-07-23                                      NULL(4)",
            "subsections": []
        }
    },
    "summary": "null, zero - data sink",
    "flags": [],
    "examples": [],
    "see_also": [
        {
            "name": "chown",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/chown/1/json"
        },
        {
            "name": "mknod",
            "section": "1",
            "url": "https://www.chedong.com/phpMan.php/man/mknod/1/json"
        },
        {
            "name": "full",
            "section": "4",
            "url": "https://www.chedong.com/phpMan.php/man/full/4/json"
        }
    ]
}