/dev/full - Wikipedia, the free encyclopedia

CentralNotice From Wikipedia, the free encyclopedia Jump to: navigation , search Special device files /dev/full /dev/null /dev/random and /dev/urandom /dev/zero This box: view talk edit In Linux , /dev/full or the always full device [ 1 ] [ 2 ] 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 null characters 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 See also [ edit ] /dev References [ edit ] ^ Aoki, Osamu "1.2.11 Special device files" , Debian Reference , November 22, 2010, accessed November 22, 2010. ^ Man Page for full (Linux section 4) , November...

Linked on 2015-08-21 21:42:46 | Similar Links