nerdexam
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)
  • A
    15% (4)
  • B
    73% (19)
  • C
    8% (2)
  • D
    4% (1)

Community Discussion

No community discussion yet for this question.

Full 117-201 Practice