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

/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-05-16