linux_modules-0.1.5 is not a library.
Linux Modules
Tool To Manage Linux Kernel Modules
This is a tool to manage your Linux Kernel Modules.
It is an alternative to modprobe
and supports listing, adding, removing modules,
as well as getting information on them.
Install
cargo install linux_modules
Usage
CLI
$ linux_modules info loop
+-------------------+----------------------------------------------------------+
| File | loop.ko |
+==============================================================================+
| Authors | |
|-------------------+----------------------------------------------------------|
| License | GPL |
|-------------------+----------------------------------------------------------|
| Description | |
|-------------------+----------------------------------------------------------|
| Version | |
|-------------------+----------------------------------------------------------|
| Firmware | |
|-------------------+----------------------------------------------------------|
| Alias | devname:loop-control |
| | char-major-10-237 |
| | block-major-7-* |
|-------------------+----------------------------------------------------------|
| Dependencies | |
|-------------------+----------------------------------------------------------|
| Soft Dependencies | |
|-------------------+----------------------------------------------------------|
| In Tree | true |
|-------------------+----------------------------------------------------------|
| Retpoline | true |
|-------------------+----------------------------------------------------------|
| Staging | false |
|-------------------+----------------------------------------------------------|
| Version Magic | 5.5.3-arch1-1 SMP preempt mod_unload |
|-------------------+----------------------------------------------------------|
| Source Checksum | 7EB1D1BC035F5C6FD6EE3FD |
|-------------------+----------------------------------------------------------|
| Parameters | +----------+------------------------------------+------+ |
| | | Name | Desc | Type | |
| | +======================================================+ |
| | | max_part | Maximum number of partitions per | int | |
| | | | loop device | | |
| | |----------+------------------------------------+------| |
| | | max_loop | Maximum number of loop devices | int | |
| | +----------+------------------------------------+------+ |
|-------------------+----------------------------------------------------------|
| Signature | true |
+-------------------+----------------------------------------------------------+
Note that the table size will adapt to your terminal.
Changelog
Please see CHANGELOG for version history
Contributing
This crate is not looking for contributors at this time.
However, feel free to ask questions and request bindings using github issues, or suggest/discuss API improvements.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as below, without any additional terms or conditions.
License
Licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.