/dev/full

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

Template:Short description Script error: No such module "Unsubst". In Linux, FreeBSD, NetBSD Template:Mono, or the always-full device,[1][2] is a special file that always returns the error code Template:Mono (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 Template:Mono). 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

History

Support for the always-full device in Linux is documented as early as 2007.[2] Native support was added to FreeBSD in the 11.0 release in 2016,[3] which had previously supported it through an optional module called lindev.[3][4] The full device appeared in NetBSD 8.[5]

See also

References

<templatestyles src="Reflist/styles.css" />

  1. Script error: No such module "citation/CS1".
  2. a b Script error: No such module "citation/CS1".
  3. a b Script error: No such module "citation/CS1".
  4. Script error: No such module "citation/CS1".
  5. Script error: No such module "citation/CS1".

Script error: No such module "Check for unknown parameters".


Template:Asbox