Skip to main content
imported relevant mknod command from link, in case the link goes stale
Source Link
Jeff Schaller
  • 68.9k
  • 35
  • 122
  • 268

null was chosen because it discards any data sent, pretty much like a void place. That's why its also called black hole.

It is a character device, a stream that has no connection to a real space in memory. Fun fact is that you can make your own personalized /dev/null with mknod -m 666 /dev/null c 1 3.

Additionally, it sends EOF if you try to read from it.

null was chosen because it discards any data sent, pretty much like a void place. That's why its also called black hole.

It is a character device, a stream that has no connection to a real space in memory. Fun fact is that you can make your own personalized /dev/null.

Additionally, it sends EOF if you try to read from it.

null was chosen because it discards any data sent, pretty much like a void place. That's why its also called black hole.

It is a character device, a stream that has no connection to a real space in memory. Fun fact is that you can make your own personalized /dev/null with mknod -m 666 /dev/null c 1 3.

Additionally, it sends EOF if you try to read from it.

Merge links, fix the POSIX link and the kernel docs link (link to the allocated devices instead of the `nullb` documentation).
Source Link
Stephen Kitt
  • 484k
  • 60
  • 1.2k
  • 1.4k

null was chosen because it discards any data sentit discards any data sent, pretty much like a void place. That's why its also called black hole. [1]

It is a character device [2]a character device, a stream that has no connection to a real space in memory. Fun fact is that you can make your own personalized /dev/null. [3]you can make your own personalized /dev/null.

Additionally, it sends EOF if you try to read from itit sends EOF if you try to read from it. [4]

null was chosen because it discards any data sent, pretty much like a void place. That's why its also called black hole. [1]

It is a character device [2], a stream that has no connection to a real space in memory. Fun fact is that you can make your own personalized /dev/null. [3]

Additionally, it sends EOF if you try to read from it. [4]

null was chosen because it discards any data sent, pretty much like a void place. That's why its also called black hole.

It is a character device, a stream that has no connection to a real space in memory. Fun fact is that you can make your own personalized /dev/null.

Additionally, it sends EOF if you try to read from it.

Correcting the device type.
Source Link
Willian Paixao
  • 2.8k
  • 3
  • 20
  • 35

null was chosen because it discards any data sent, pretty much like a void place. That's why its also called black hole. [1]

It is a blockcharacter device [2], a stream that has no connection to a real space in memory. Fun fact is that you can make your own personalized /dev/null. [3]

Additionally, it sends EOF if you try to read from it. [4]

null was chosen because it discards any data sent, pretty much like a void place. That's why its also called black hole. [1]

It is a block device [2], a stream that has no connection to a real space in memory. Fun fact is that you can make your own personalized /dev/null. [3]

Additionally, it sends EOF if you try to read from it. [4]

null was chosen because it discards any data sent, pretty much like a void place. That's why its also called black hole. [1]

It is a character device [2], a stream that has no connection to a real space in memory. Fun fact is that you can make your own personalized /dev/null. [3]

Additionally, it sends EOF if you try to read from it. [4]

Source Link
Willian Paixao
  • 2.8k
  • 3
  • 20
  • 35
Loading