man modinfo(8) - программа для просмотра информации о модуле ядра Linux | Participants
|
- Statistics
- Participants
- Translate into Russian
- Translation result
- Translation complete.
If you do not want to register an account, you can sign in with OpenID.
man modinfo(8) - program to show information about a Linux Kernel module | man modinfo(8) - программа для просмотра информации о модуле ядра Linux | |
NAME | ||
modinfo - program to show information about a Linux Kernel module | modinfo - программа для просмотра информации о модуле ядра Linux | |
SYNOPSIS | ||
modinfo [-0] [-F field] [-k kernel] [modulename|filename ...] | modinfo [-0] [-F поле] [-k ядро] [имя_модуля|имя_файла ...] | |
modinfo -V | ||
modinfo -h | ||
DESCRIPTION | ||
modinfo extracts information from the Linux Kernel modules given on the command line. If the module name is not a filename, then the /lib/modules/versiondirectory is searched, as done by modprobe(8). | modinfo извлекает информацию из модулей ядра Linux , заданных в командной строке. Если имя модуля - не имя файла, то будет выполнен поиск в каталоге /lib/modules/version, как это делает modprobe(8). | |
modinfo by default lists each attribute of the module in form fieldname: value, for easy reading.The filename is listed the same way (although it's not really an attribute). | По умолчанию modinfo выводит каждый атрибут модуля в виде "имя_поля:значение", для лёгкости чтения. Имя файла выводится таким же образом (хотя на самом деле это не атрибут). | |
This version of modinfo can understand modules of any Linux Kernel architecture. | Эта версия modinfo умеет понимать модули ядра Linux для любой архитектуры. | |
OPTIONS | ||
-V --version | ||
Print the modinfo version.Note BACKWARDS COMPATIBILITY below: you might be printing the version of modinfo.old. | Вывести версию modinfo. Замечания о нижеследующем разделе ОБРАТНАЯ СОВМЕСТИМОСТЬ: может быть выведена версия modinfo.old. | |
-F --field | ||
Only print this field value, one per line. This is most useful for scripts. Field names are case-insenitive.Common fields (which may not be in every module) include author, description, license, param, depends, and alias.There are often multiple param, alias and dependsfields. The special field filename lists the filename of the module. | Вывести только значение этого поля, по одному в строке. Чаще всего эта возможность используется в сценариях. Общие поля (которые могут отсутствовать в некоторых модулях) включают author (автор), description (описание), license (лицензия), param (параметры), depends (зависимости) и alias (псевдонимы). Может быть несколько полей param, alias и depends. Особое поле filename выводит имя файла модуля. | |
-k kernel | ||
Provide information about a kernel other than the running one. This is particularly useful for distributions needing to extract information from a newly installed (but not yet running) set of kernel modules. For example, you wish to find which firmware files are needed by various modules in a new kernel for which you must make an initrd image prior to booting. | Предоставить информацию о другом ядре, а не о используемом в настоящее время. Эта возможность может потребоваться для извлечения информации из недавно установленном наборе модулей (которые пока не используются). Например, вы хотите найти файлы прошивок, необходимых различным модулям ядра, которые вы должны добавить в образ initrd перед загрузкой. | |
-0 --null | ||
Use the ASCII zero character to separate field values, instead of a new line. This is useful for scripts, since a new line can theoretically appear inside a field. | Использовать для разделения значений полей вместо символа новой строки ASCII-символ с нулевым кодом. Эта возможность полезна в сценариях, поскольку символ новой строки теоретически может встретиться внутри поля. | |
-a -d -l -p -n | ||
These are shortcuts for author, description, license. param and filename respectively, to ease the transition from the old modutils modinfo. | Это сокращения для полей author, desription, license, param и filename соответственно, добавленные для легкости перехода утилиты modinfo из старого пакета modutils. | |
BACKWARDS COMPATIBILITY | ||
This version of modinfo is for kernel modules 2.5.48 and above. If it detects a kernel with support for old-style modules, it will attempt to run modprobe.old in its place, so it is completely transparent to the user. | Эта версия modinfo предназначена для ядер версий 2.5.48 и выше. Если обнаружено ядро, поддерживающее модули старого стиля, программа попытается запустить modprobe.old, так что она полностью прозрачна для пользователя. |
