Unix filesystem: Difference between revisions

Content deleted Content added
There were two entries for /bin with different text. In context, it was clear that the second was supposed to be /sbin
/dev/random is a link; /dev/urandom is covered in that article
Line 16:
::*'''[[dev-null|/dev/null]]''' -- Also known as the "bit bucket" or "black hole", this virtual file discards all contents written to it. This is typically used to throw away unwanted data streams, such as log files.
 
::*'''[[dev-random|/dev/random]]''' -- This is a virtual file which contains random numbers (subject to the limitations of [[Random Number Generators]] in [[Computing]]). It uses system noise to generate random numbers and blocks if not enough entropy in the noise is available. Random is commonly used more by programs that absolutely need ''high quality'' random data (such as SSH to generate an [[encryption]] key).
 
::*'''[[dev-urandom|/dev/urandom]]''' -- Same as /dev/random, except it always returns random numbers, even if there is not enough entropy in the system noise available. In the latter case, [[pseudorandom numbers]] are generated, which are based on an algorithm, depending on the type of Unix system.
 
:* '''/home''' -- contains the home directories for the users. On some Unices, this is under /usr/home