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.
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)- A4% (1)
- B12% (3)
- C4% (1)
- D81% (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.
mkfs (make filesystem) is used to create a new filesystem on a disk partition, not to set or retrieve low-level disk geometry parameters.
mkswap is used to designate a disk partition or file as Linux swap space and has no capability to configure hard disk geometry parameters.
mke2fs creates an ext2, ext3, or ext4 filesystem on a specified disk device but does not interact with or modify hard disk geometry settings.
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
Community Discussion
No community discussion yet for this question.