Which command forces the re-read of a disk's partition table without rebooting?

Disable ads (and more) with a premium pass for a one time $4.99 payment

Boost your Linux skills with the CompTIA Linux+ Certification Exam simulator. Engage with multiple choice questions and detailed feedback. Master Linux concepts and prepare for your exam with confidence!

The command that forces the re-read of a disk's partition table without requiring a reboot is partprobe. This utility is specifically designed to inform the operating system of changes to the partition table of a disk. When a disk has its partitions modified—whether through creation, removal, or resizing—using partprobe signals the kernel to re-read the partition table, allowing the system to recognize and use the updated partition information immediately.

Other options such as parted and gparted are powerful tools for managing partitions but focus more on creating, deleting, and manipulating partitions rather than re-reading the partition table on the fly. They can apply changes to partitions, but do not explicitly trigger the operating system to re-read the partition table. Additionally, diskpart is a Windows utility for managing disk partitions, which is not applicable in the context of Linux systems. Thus, partprobe stands out as the correct command for the task at hand.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy