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…
Question
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)- A73% (19)
- B8% (2)
- C4% (1)
- D15% (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
insmodormodprobe;modules.depsimply tracks dependencies so they load in the right order. - C is false:
modules.depdescribes dependency relationships, not startup behavior - automatic loading is controlled by other mechanisms like/etc/modulesormodprobealiases. - 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
Community Discussion
No community discussion yet for this question.