LPI
117-201 · Question #274
How can the label root be added to the ext2 filesystem on /dev/sda1?
The correct answer is B. tune2fs -L root /dev/sda1. See the full explanation below for the reasoning.
Question
How can the label root be added to the ext2 filesystem on /dev/sda1?
Options
- Arelabel /dev/sda1 root
- Btune2fs -L root /dev/sda1
- Cecho 'root' > /proc/fs/sda1/label
- Dlabelfs --device /dev/sda1 root
How the community answered
(26 responses)- A15% (4)
- B73% (19)
- C8% (2)
- D4% (1)
Community Discussion
No community discussion yet for this question.