GCFA · Question #131
You work as the Network Administrator for McNeil Inc. The company has a Unix-based network. You want to query an image root device and RAM disk size. Which of the following Unix commands can you use…
The correct answer is A. rdev. The rdev command on Unix/Linux systems is used to query or set the root device, swap device, RAM disk size, and video mode embedded in a kernel image.
Question
You work as the Network Administrator for McNeil Inc. The company has a Unix-based network. You want to query an image root device and RAM disk size. Which of the following Unix commands can you use to accomplish the task?
Options
- Ardev
- Bmount
- Csetfdprm
- Drdump
How the community answered
(28 responses)- A82% (23)
- B11% (3)
- C4% (1)
- D4% (1)
Why each option
The rdev command on Unix/Linux systems is used to query or set the root device, swap device, RAM disk size, and video mode embedded in a kernel image.
The rdev command directly reads or modifies kernel image parameters including the root block device and RAM disk size, making it the correct tool for querying image root device and RAM disk configuration without needing to recompile the kernel.
The mount command attaches filesystems to directory tree mount points at runtime and does not query kernel image parameters such as RAM disk size or root device settings.
The setfdprm command is used to set floppy disk parameters such as geometry and type, and has no relation to kernel image root device or RAM disk configuration.
The rdump command is used to perform remote filesystem backups over a network connection, and is unrelated to querying kernel image device or RAM disk settings.
Concept tested: Unix rdev command for kernel image parameter queries
Source: https://linux.die.net/man/8/rdev
Topics
Community Discussion
No community discussion yet for this question.