CompTIA Linux+ (XK0-004) — Question 249
A storage administrator added a new primary partition to a drive and wants to create a filesystem without rebooting.
Which of the following commands will allow this to happen?
Answer options
- A. fdisk
- B. fsck2
- C. partprobe
- D. parted
Correct answer: C
Explanation
The correct answer is C, 'partprobe', which informs the operating system of partition table changes without requiring a reboot. Option A, 'fdisk', is used for partitioning and cannot create filesystems directly. Option B, 'fsck2', is for checking and repairing filesystems, not for creating them. Option D, 'parted', is a partitioning tool but does not specifically notify the OS of changes without a reboot.