LPI
201-400 · 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
(37 responses)- A8% (3)
- B84% (31)
- C3% (1)
- D5% (2)
Community Discussion
No community discussion yet for this question.