312-49 · Question #319
What will the following command accomplish in Linux? fdisk /dev/hda
The correct answer is A. Partition the hard drive. fdisk is a Linux command-line utility for managing disk partition tables. Running 'fdisk /dev/hda' opens an interactive partition editor for the first IDE hard drive (/dev/hda). From here, an administrator can create, delete, or modify partitions. It does not format the drive…
Question
What will the following command accomplish in Linux? fdisk /dev/hda
Options
- APartition the hard drive
- BFormat the hard drive
- CDelete all files under the /dev/hda folder
- DFill the disk with zeros
How the community answered
(22 responses)- A86% (19)
- B9% (2)
- C5% (1)
Explanation
fdisk is a Linux command-line utility for managing disk partition tables. Running 'fdisk /dev/hda' opens an interactive partition editor for the first IDE hard drive (/dev/hda). From here, an administrator can create, delete, or modify partitions. It does not format the drive (that requires mkfs), does not delete files directly, and does not zero-fill the disk (that would use dd with /dev/zero). fdisk strictly operates on the partition table structure of the specified disk.
Topics
Community Discussion
No community discussion yet for this question.