nerdexam
GIAC

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.

Advanced Mac & Linux Forensics

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)
  • A
    82% (23)
  • B
    11% (3)
  • C
    4% (1)
  • D
    4% (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.

ArdevCorrect

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.

Bmount

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.

Csetfdprm

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.

Drdump

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

#Unix commands#rdev#RAM disk#boot configuration

Community Discussion

No community discussion yet for this question.

Full GCFA Practice