LX0-103 · Question #60
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
The correct answer is C. LABEL E. UUID. In /etc/fstab, partitions can be identified by LABEL or UUID instead of a device path like /dev/sda1, providing more stable references that survive device renaming.
Question
Instead of supplying an explicit device in /etc/fstab for mounting, what other options may be used to identify the intended partition? (Choose TWO correct answers.)
Options
- AFIND
- BID
- CLABEL
- DNAME
- EUUID
How the community answered
(52 responses)- A4% (2)
- C94% (49)
- D2% (1)
Why each option
In /etc/fstab, partitions can be identified by LABEL or UUID instead of a device path like /dev/sda1, providing more stable references that survive device renaming.
FIND is not a valid keyword or identifier type recognized in /etc/fstab entries.
ID is not a recognized /etc/fstab identifier keyword for specifying partitions.
LABEL= uses a human-readable label assigned to the filesystem at creation time (e.g., with e2label or mkfs -L), and the kernel's udev subsystem resolves it to the correct block device at mount time, so the entry remains valid even if device node names change.
NAME is not a valid /etc/fstab field identifier for referencing a partition.
UUID= uses the universally unique identifier assigned to the filesystem at format time, which is guaranteed to be unique and persistent across reboots and hardware changes, making it the most reliable way to identify a partition independently of its /dev path.
Concept tested: Identifying partitions by LABEL and UUID in /etc/fstab
Source: https://man7.org/linux/man-pages/man5/fstab.5.html
Topics
Community Discussion
No community discussion yet for this question.