next up previous
Next: Random Number Devices Up: Special Devices Previous: /dev/zero

/dev/full

The entry /dev/full behaves as if it were a file on a file system that has no more room. A write to /dev/full fails and sets errno to ENOSPC, which ordinarily indicates that the written-to device is full.
$ cp /etc/fstab /dev/full
cp: writing '/dev/full': No space left on device


Cem Ozdogan 2007-04-16