108k views
1 vote
The command "mknod myfifo b 4 16" will create a ______ if the user is root.

1) Block device
2) FIFO
3)haracter device
4) Socket

1 Answer

2 votes

Final answer:

The command 'mknod myfifo b 4 16' creates a block device if executed by the root user. It specifies the type of device and its major and minor device numbers.

Step-by-step explanation:

The command "mknod myfifo b 4 16" will create a block device if the user is root. The 'mknod' command in Linux is used to create a filesystem node, which could be a block device, character device, named pipe (FIFO), or socket based on the options provided. In this case, the 'b' signifies that a block device is being created. The numbers '4' and '16' indicate the major and minor device numbers, respectively, which are used by the system to identify the specific block device driver associated with the device.

User Ankit Vyas
by
9.0k points