Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Virtual device
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Unreferenced|date=December 2009}} A '''virtual device''' in [[Unix]] is a file such as <code>[[:/dev/null]]</code> or <code>[[:/dev/urandom]]</code>, that is treated as a device, as far as user level software is concerned, but is generated by the [[kernel (operating system)|kernel]] without reference to hardware. For instance when <code>/dev/null</code> is written to, the kernel tells the program it wrote everything to it (without actually writing it anywhere), and when read from, the reading program is told that it has reached the end of the file. It is a device file (it can be made with [[mknod]] for instance), but does not reference any hardware. [[DOS]]-, [[Microsoft Windows|Windows]]- and [[OS/2]]-like [[operating system]]s define the '''NUL''' device that performs a similar function (but is implemented as part of the file name processing – no actual file exists by that name). {{DEFAULTSORT:Virtual Device}} [[Category:Unix file system technology]] {{Unix-stub}} [[de:Gerätedatei]] [[es:Fichero de dispositivo]] [[pt:Nó de dispositivo]] [[ru:/dev]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)