Menu
Home Explore People Places Arts History Plants & Animals Science Life & Culture Technology
On this page
/dev/full
Special file

In Linux, FreeBSD, NetBSD /dev/full, or the always-full device, is a special file that always returns the error code ENOSPC (meaning "No space left on device") on writing, and provides an infinite number of zero bytes to any process that reads from it (similar to /dev/zero). This device is usually used when testing the behaviour of a program when it encounters a "disk full" error.

$ echo "Hello, World!" > /dev/full bash: echo: write error: No space left on device
We don't have any images related to /dev/full yet.
We don't have any YouTube videos related to /dev/full yet.
We don't have any PDF documents related to /dev/full yet.
We don't have any Books related to /dev/full yet.
We don't have any archived web articles related to /dev/full yet.

History

Support for the always-full device in Linux is documented as early as 2007.3 Native support was added to FreeBSD in the 11.0 release in 2016,4 which had previously supported it through an optional module called lindev.56 The full device appeared in NetBSD 8.7

See also

References

  1. Aoki, Osamu (November 22, 2010). "Chapter 1. GNU/Linux tutorials". Archived from the original on 2010-06-15. Retrieved November 22, 2010. http://tldp.org/LDP/www.debian.org/doc/manuals/debian-reference/ch01.en.html

  2. "Man Page for full (Linux section 4)". November 24, 2007. Archived from the original on February 5, 2013. Retrieved June 1, 2011. http://www.unix.com/man-page/Linux/4/full/

  3. "Man Page for full (Linux section 4)". November 24, 2007. Archived from the original on February 5, 2013. Retrieved June 1, 2011. http://www.unix.com/man-page/Linux/4/full/

  4. "FreeBSD 11.0-RELEASE Release Notes". FreeBSD official site. Archived from the original on 11 October 2016. Retrieved 9 March 2019. https://www.freebsd.org/releases/11.0R/relnotes.html

  5. "FreeBSD 11.0-RELEASE Release Notes". FreeBSD official site. Archived from the original on 11 October 2016. Retrieved 9 March 2019. https://www.freebsd.org/releases/11.0R/relnotes.html

  6. "LINDEV(4) Device Drivers Manual". Debian. Archived from the original on 2021-05-15. Retrieved 2021-05-15. https://manpages.debian.org/wheezy/freebsd-manpages/lindev.4freebsd

  7. "full(4) - NetBSD Manual Pages". NetBSD. Archived from the original on 2021-05-15. https://man.netbsd.org/full.4