nerdexam
GIAC

GCFA · Question #227

You work as the Network Administrator for McNeil Inc. The company has a Unix-based network. You want to set the hard disk geometry parameters, cylinders, heads, and sectors. Which of the following…

The correct answer is D. hdparm. The hdparm command is the Unix/Linux utility used to configure and retrieve hard disk geometry parameters such as cylinders, heads, and sectors.

Advanced Mac & Linux Forensics

Question

You work as the Network Administrator for McNeil Inc. The company has a Unix-based network. You want to set the hard disk geometry parameters, cylinders, heads, and sectors. Which of the following Unix commands can you use to accomplish the task?

Options

  • Amkfs
  • Bmkswap
  • Cmke2fs
  • Dhdparm

How the community answered

(26 responses)
  • A
    4% (1)
  • B
    12% (3)
  • C
    4% (1)
  • D
    81% (21)

Why each option

The hdparm command is the Unix/Linux utility used to configure and retrieve hard disk geometry parameters such as cylinders, heads, and sectors.

Amkfs

mkfs (make filesystem) is used to create a new filesystem on a disk partition, not to set or retrieve low-level disk geometry parameters.

Bmkswap

mkswap is used to designate a disk partition or file as Linux swap space and has no capability to configure hard disk geometry parameters.

Cmke2fs

mke2fs creates an ext2, ext3, or ext4 filesystem on a specified disk device but does not interact with or modify hard disk geometry settings.

DhdparmCorrect

hdparm is a Unix/Linux command-line utility that allows administrators to get and set hard disk drive parameters including geometry values such as cylinders, heads, and sectors, along with performance tuning options and drive identification data.

Concept tested: Unix command for configuring hard disk geometry

Source: https://man7.org/linux/man-pages/man8/hdparm.8.html

Topics

#hdparm#Unix disk commands#hard disk geometry#Linux administration

Community Discussion

No community discussion yet for this question.

Full GCFA Practice