CompTIA Linux+ (XK0-005) — Question 216
A systems administrator intends to use a UUID to mount a new partition permanently on a Linux system. Which of the following commands can the administrator run to obtain information about the UUIDs of all disks attached to a Linux system?
Answer options
- A. fcstat
- B. blkid
- C. dmsetup
- D. lescsi
Correct answer: B
Explanation
The correct answer is B, as the 'blkid' command is specifically designed to display block device attributes, including UUIDs. The other options, such as 'fcstat', 'dmsetup', and 'lescsi', do not provide UUID information and serve different purposes related to storage management or device status.