PrepAway - Latest Free Exam Questions & Answers

Type in the simplest command that would list all information including author and description for the module.

CORRECT TEXT
You wish to get infomation on a module called msdos.o.
Type in the simplest command that would list all information including author and description for
the module.

PrepAway - Latest Free Exam Questions & Answers

Answer: modinfo msdos

Explanation:
modinfo extracts information the Linux Kernel modules given on the command line. If the module
name is not a filename, then the /lib/modules/version directory is searched, as done by modprobe
Syntax: modinfo modulename or filename
Example:
modinfo ext3
Sample output
filename: /lib/modules/2.6.9-5.EL/kernel/fs/ext3/ext3.ko
author: Remy Card, Stephen Tweedie, Andrew Morton, Andreas Dilger, Theodore Ts’o and
others description: Second Extended Filesystem with journaling extensions
license: GPL
vermagic: 2.6.9-5.EL 686 REGPARM 4KSTACKS gcc-3.4
depends: jbd


Leave a Reply