Get the App
SLTechnology News&Howtos  ›  Development  › 

How to use the bmodinfo command in Linux

Shulou Source: shulou.com Published: 2022-06-02 00:46:08 09月28日 Update

Editor to share with you how to use the bmodinfo command in Linux, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's go to know it!

The bmodinfo command is used to display details of a given module.

Bmodinfo displays the details of a given module

Syntax bmodinfo (options) (parameters) option-a: display module author;-d: display module description information;-l: display module license information;-p: display module parameter information;-n: display module corresponding text information;-0: use 0 characters of ASCII code to separate field values instead of using new lines. Parameter module name: the name of the module to display details.

The example displays the information of the sg module:

[root@localhost ~] # modinfo sg filename: / lib/modules/2.6.9-42.ELsmp/kernel/drivers/scsi/sg.ko author: Douglas Gilbert description: SCSI generic (sg) driver license: GPL version: 3.5.31 B0B0CB1BB59F0669A1F0D6B parm: def_reserved_size:size of buffer reserved for each fd parm: allow_dio:allow direct I allow_dio:allow direct O (default: 0 (disallow)) alias: char-major-21-* vermagic: 2.6.9-42.ELsmp SMP 686REGPARM 4KSTACKS gcc-3.4 depends: the above scsi_mod is all the contents of the article "how to use bmodinfo commands in Linux" Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Modules information commands parameters articles content not much author name most fields characters instances text more knowledge industry grammar information information channels Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info OPPO Reno Redmi MariaDB vpn