LPIC-1 blkid Practice Question
Which TWO commands can be used to display information about block devices such as disks and partitions? (Choose exactly two.)
⚠ Common exam trap
Candidates often assume `lsblk` is the best choice because it lists block devices, but for partition-specific details, `fdisk -l` is more appropriate. Similarly, `blkid` is often overlooked in favor of `mount` or `df`.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
blkid
`blkid` retrieves attributes like UUID and filesystem type from block devices by reading their superblocks, making it ideal for identifying disks and partitions. `fdisk -l` lists partition tables, displaying detailed information about disk layouts and partitions. Both commands are directly focused on block device information. In contrast, `lsblk` lists all block devices in a tree, but it is more about displaying device hierarchy than partition-specific details. `df` shows filesystem disk usage of mounted filesystems, not raw device info. `mount` displays mounted filesystems, not block devices.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
blkid
Why this is correct
Correct. `blkid` queries block device attributes such as UUID, type, and label.
- ✗
lsblk
Why it's wrong here
Incorrect. `lsblk` lists block devices but is less focused on partition-specific details compared to `fdisk -l`.
- ✗
df
Why it's wrong here
Incorrect. `df` shows disk usage of mounted filesystems, not block device information.
- ✓
fdisk -l
Why this is correct
Correct. `fdisk -l` displays partition tables and disk geometry, providing block device info.
- ✗
mount
Why it's wrong here
Incorrect. `mount` shows currently mounted filesystems, not raw block device attributes.
Go deeper
Related to this question
About these practice questions
This LPIC-1 question is part of Courseiva's 527-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This LPIC-1 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-1 exam.