man depmod(8) - программа для создания modules.dep и map-файлов

Rusty Russell, “man depmod(8) - program to generate modules.dep and map files.”, public translation into Russian from English More about this translation.

See also 139 similar translations

Translate into another language.

Participants

saturn721642 points
morbo278 points
Join Translated.by to translate! If you already have a Translated.by account, please sign in.
If you do not want to register an account, you can sign in with OpenID.
Pages: ← previous Ctrl next
1 2

man depmod(8) - program to generate modules.dep and map files.

man depmod(8) - программа для создания modules.dep и map-файлов

Unapproved edits (Latest: morbo 3 years, 2 months ago) §

NAME

НАЗВАНИЕ

History of edits (Latest: morbo 3 years, 2 months ago) §

depmod - program to generate modules.dep and map files.

depmod - программа для создания modules.dep и map-файлов

History of edits (Latest: morbo 3 years, 2 months ago) §

SYNOPSIS

ОБЗОР

History of edits (Latest: morbo 3 years, 2 months ago) §

depmod [-b basedir] [-e] [-F System.map] [-n] [-v] [version] [-A]

depmod [-b basedir] [-e] [-F System.map] [-n] [-v] [версия] [-A]

History of edits (Latest: morbo 3 years, 2 months ago) §

depmod [-e] [-FSystem.map] [-n] [-v] [version] [filename ...]

depmod [-e] [-FSystem.map] [-n] [-v] [версия] [имя_файла ...]

History of edits (Latest: morbo 3 years, 2 months ago) §

DESCRIPTION

ОПИСАНИЕ

History of edits (Latest: saturn721 3 years, 2 months ago) §

Linux kernel modules can provide services (called "symbols") for other modules to use (using EXPORT_SYMBOL in the code). If a second module uses this symbol, that second module clearly depends on the first module. These dependencies can get quite complex.

Модули ядра Linux могут предоставлять службы (называемые "символами") для использования другими модулями (посредством EXPORT_SYMBOL в коде). Если другой модуль использует этот "символ", то этот модуль непосредственно зависит от первого модуля. Такие зависимости могут быть весьма сложными.

History of edits (Latest: morbo 3 years, 2 months ago) §

— "symbols" - кажется стоит перевести иначе.  saturn721

может - флаг? saturn721

— symbols - это symbols. Различные функции, экспортируемые, например, библиотекой. morbo

depmod creates a list of module dependencies, by reading each module under /lib/modules/version and determining what symbols it exports, and what symbols it needs. By default this list is written to modules.dep in the same directory. If filenames are given on the command line, only those modules are examined (which is rarely useful, unless all modules are listed).

depmod создает список зависимостей модулей, прочитывая каждый модуль в каталоге /lib/modules и определяет, какие символы они экспортируют, и какие символы им нужны. По умолчанию этот список записывается в файл modules.dep в том же каталоге. Если в командной строке задано имя_файла, то проверяются только эти модули (что иногда может быть полезно, если перечислены не все модули).

History of edits (Latest: morbo 3 years, 2 months ago) §

If a version is provided, then that kernel version's module directory is used, rather than the current kernel version (as returned by "uname -r").

Если указана версия, то используется каталог модулей указанной версии ядра, а не версии текущего ядра (возвращаемой командой "uname -r").

History of edits (Latest: morbo 3 years, 2 months ago) §

depmod will also generate various map files in this directory, for use by the hotplug infrastructure.

depmod так же генерирует различные map-файлы в том же каталоге, для использования инфраструктурой горячего подключения (hotplug).

History of edits (Latest: morbo 3 years, 2 months ago) §

OPTIONS

ОПЦИИ

History of edits (Latest: saturn721 3 years, 2 months ago) §

-a --all

-a --all

History of edits (Latest: saturn721 3 years, 2 months ago) §

Probe all modules. This option is enabled by default if no file names are given in the command-line.

Проверять все модули. Опция включена по умолчанию, если в командной строке не указаны имена файлов.

History of edits (Latest: morbo 3 years, 2 months ago) §

-A --quick

-A --quick

History of edits (Latest: saturn721 3 years, 2 months ago) §

This option scans to see if any modules are newer than the modules.dep file before any work is done: if not, it silently exits rather than regenerating the files.

Эта опция проверяет, не является ли какой-либо модуль более новым, чем файл modules.dep, перед тем как выполнить какую-либо работу: если нет, он без предупреждений завершит работу, вместо повторного генерирования файлов.

History of edits (Latest: morbo 3 years, 2 months ago) §

-b basedir --basedir basedir

-b основной_каталог --basedir основной_каталог

History of edits (Latest: morbo 3 years, 2 months ago) §

If your modules are not currently in the (normal) directory /lib/modules/version, but in a staging area, you can specify a basedir which is prepended to the directory name. This basedir is stripped from the resulting modules.dep file, so it is ready to be moved into the normal location.

Если ваши модули находятся не в (обычном) каталоге /lib/modules/версия, а в перемещённом месте, вы можете указать основной_каталог, который будет добавлен к имени каталога. Этот основной_каталог будет вырезан из результирующего файла modules.dep, так что файл будет готов к перемещению в обычное место расположения.

History of edits (Latest: morbo 3 years, 2 months ago) §

Comment was deleted

Comment was deleted

— второе предложение, э... наверно так. saturn721

-C --config file or directory

-C --config файл или каталог

History of edits (Latest: morbo 3 years, 2 months ago) §

This option overrides the default configuration file (/etc/depmod.conf or /etc/depmod.d/ if that is not found).

Эта опция заменяет файл конфигурации по умолчанию (/etc/depmod или /etc/depmod.d/), если он не был найден.

History of edits (Latest: morbo 3 years, 2 months ago) §

-e --errsyms

-e --errsyms

History of edits (Latest: saturn721 3 years, 2 months ago) §

When combined with the -F option, this reports any symbols which a module needs which are not supplied by other modules or the kernel. Normally, any symbols not provided by modules are assumed to be provided by the kernel (which should be true in a perfect world).

В сочетании с опцией -F, эта опция докладывает обо всех символах, которые требуются необходимому модулю, но не предоставляются другими модулями или ядром. Обычно предполагается, что любые символы не предоставляемые модулями, предоставляются ядром (что должно быть верно в идеальном мире).

History of edits (Latest: morbo 3 years, 2 months ago) §

Comment was deleted

— совместимость скомпилированных модулей с текущим ядром saturn721

второе предложение,,, saturn721

Pages: ← previous Ctrl next
1 2