If you like BoxMatrix then please contribute Supportdata, Supportdata2, Firmware and/or Hardware (get in touch).
My metamonk@yahoo.com is not reachable by me since years. Please use hippie2000@webnmail.de instead.
Property:Kmod-Bin
BoxMatrix >> Lexicon >> File-Formats >> Kmod-Bin | @ BoxMatrix - IRC-Chat - Translate: de es fr it nl pl |
News | Selectors | Models | Accessories | Components | Environment | Config | Commands | System | Webif | Software | Develop | Lexicon | Community | Project | Media |
Computer | FRITZ | I18N | Telephony | Smarthome | Internet | Protocols | Multimedia | Formats | Hardware | Software | Research |
Format
Format: | Kmod-Bin | Wiki | Freetz | IPPF | whmf | AVM | Web |
Short for: | Kmod binary format | ||||||
Location: | Lexicon >> File-Formats | ||||||
Weblinks: | |||||||
Description: | kmod / libkmod.so module index binary format |
Goto: FRITZ!OS - SMW-Browser
Details
The Kmod Binary Format is an alternative storage format to the ASCII based dependency databases created by depmod.
The typical filename is the name of the respective ASCII file with an appended .bin
extension.
depmod collects dependency information about Kernel-Modules for later usage by modprobe.
This information is stored in 3 databases, both in ASCII and in binary format:
- modules.alias <=> modules.alias.bin
- modules.symbols <=> modules.symbols.bin
- modules.dep <=> modules.dep.bin
Additionally cretead by kbuild (todo: where and how):
These databases can be huge that is why they are not cached. modprobe has to load them on each invocation.
The sole purpose of the binary format is to speed up the dependency lookup by modprobe.
The binary version is often bigger than the ASCII version, but it contains lookup time optimized radix tree presorted data.
The format is explained in the libkmod-index.c module index file implementation source of kmod / libkmod.so.
FRITZ!OS
FRITZ!OS uses all the ASCII and binary files named above. On devices with limited Flash space the ASCII version is deleted.
libkmod-index.c is compiled into kmod / libkmod.so.