GIAC
GCFA · Question #227
GCFA Question #227: Real Exam Question with Answer & Explanation
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.
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
Explanation
The hdparm command is the Unix/Linux utility used to configure and retrieve hard disk geometry parameters such as cylinders, heads, and sectors.
Common mistakes.
- A. mkfs (make filesystem) is used to create a new filesystem on a disk partition, not to set or retrieve low-level disk geometry parameters.
- B. mkswap is used to designate a disk partition or file as Linux swap space and has no capability to configure hard disk geometry parameters.
- C. mke2fs creates an ext2, ext3, or ext4 filesystem on a specified disk device but does not interact with or modify hard disk geometry settings.
Concept tested. Unix command for configuring hard disk geometry
Reference. https://man7.org/linux/man-pages/man8/hdparm.8.html
Community Discussion
No community discussion yet for this question.