MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

UNIX

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which directory contain device special files?
A
/etc
B
/etc/dev
C
/root/bin
D
/dev
Explanation: 

Detailed explanation-1: -The /dev directory contains the special device files for all the devices. The device files are created during installation, and later with the /dev/MAKEDEV script.

Detailed explanation-2: -The /dev directory contains device files (also sometimes known as device special files and device nodes) that provide access to peripheral devices such as hard disks, to resources on peripheral devices such as disk partitions, and pseudo devices such as a random number generator.

Detailed explanation-3: -The /dev directory contains special device files that control access to peripheral devices. There are several subdirectories to the /dev directory. Each of these subdirectories holds special device files related to a certain type of device.

Detailed explanation-4: -In Unix-like operating systems, a device file or special file is an interface to a device driver that appears in a file system as if it were an ordinary file. On Linux they are in the /dev directory, according to the Filesystem Hierarchy Standard.

There is 1 question to complete.