Devices Flashcards
The ________ enables user-space programs to automatically configure and use new devices.
udev system
Why is it easy to manipulate most devices on a Unix system?
Because the kernel presents many of the device I/O interfaces to user processes as files.
What are device files sometimes called?
device nodes
What device causes the kernel to throw away the data stored there?
/dev/null
What four characters in the first position of the permission bits denote devices?
b
c
p
s
b
block
c
character
p
pipe
s
socket
A disk device is a type of _________.
block device
Character devices work with _____.
data streams
You can only ______ or ______ character devices, as previously demonstrated with /dev/null.
read characters from
write characters to
Named pipes are like character device, with ______ instead of _____.
another process at the other end of the I/O stream
a kernel driver.
What are sockets?
Sockets are special-purpose interfaces that are frequently used for interprocess comunication.
The program dd is extremely useful when working with _________.
block and character devices.