October 10, 2008

Linux Devices - Tip1 - /dev/full

This is a humble series on linux devices.

Writing to /dev/full fails and produces “a disk full” error sending errno to ENOSPC… ENOSPC is the error that signals that the device is full.

Would you wonder what’s the use of /dev/full - well pretty obvious, just to test how program behaves if they run out of a space where they can’t write.

Cheers,