nerdexam
LPI

102-500 · Question #151

You found these lines in the modules.dep file: /lib/modules/2.2.5-15smp/fs/msdos.o: /lib/modules/2.2.5-15smp/fs/fat.o Which of the following is true?

The correct answer is A. The msdos module is dependent upon fat. In modules.dep, the format is module: dependency, meaning the item on the left requires the item on the right to be loaded first. Here, msdos.o is listed before the colon and fat.o after it, so msdos depends on fat - option A is correct. Why the distractors are wrong: B is…

Administrative Tasks

Question

You found these lines in the modules.dep file: /lib/modules/2.2.5-15smp/fs/msdos.o: /lib/modules/2.2.5-15smp/fs/fat.o Which of the following is true?

Options

  • AThe msdos module is dependent upon fat.
  • BThe fat and msdos modules cannot be loaded manually.
  • CThe fat and msdos modules are automatically loaded at startup.
  • DThe fat module is a submodule to the msdos module.

How the community answered

(26 responses)
  • A
    73% (19)
  • B
    8% (2)
  • C
    4% (1)
  • D
    15% (4)

Explanation

In modules.dep, the format is module: dependency, meaning the item on the left requires the item on the right to be loaded first. Here, msdos.o is listed before the colon and fat.o after it, so msdos depends on fat - option A is correct.

Why the distractors are wrong:

  • B is false: both modules can be loaded manually with insmod or modprobe; modules.dep simply tracks dependencies so they load in the right order.
  • C is false: modules.dep describes dependency relationships, not startup behavior - automatic loading is controlled by other mechanisms like /etc/modules or modprobe aliases.
  • D is false: fat is the dependency (prerequisite), not a submodule of msdos; the relationship is the opposite direction.

Memory tip: Read the modules.dep line like a sentence - "msdos needs fat" - because the dependent module comes first (left of the colon), and what it needs comes second (right of the colon).

Topics

#kernel modules#module dependencies#modules.dep syntax#module management

Community Discussion

No community discussion yet for this question.

Full 102-500 Practice