{"id":15007445,"url":"https://github.com/diananites/linux_modules","last_synced_at":"2025-04-09T16:03:34.974Z","repository":{"id":38331756,"uuid":"240950182","full_name":"DianaNites/linux_modules","owner":"DianaNites","description":"Tool To Manage Linux Kernel Modules","archived":false,"fork":false,"pushed_at":"2023-05-25T02:37:01.000Z","size":247,"stargazers_count":25,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-02T09:01:38.672Z","etag":null,"topics":["kernel-module","kmod","linux","linux-modules","rust-lang"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DianaNites.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE-APACHE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-02-16T19:15:09.000Z","updated_at":"2024-08-02T13:45:43.000Z","dependencies_parsed_at":"2023-02-01T04:00:35.291Z","dependency_job_id":null,"html_url":"https://github.com/DianaNites/linux_modules","commit_stats":null,"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DianaNites%2Flinux_modules","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DianaNites%2Flinux_modules/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DianaNites%2Flinux_modules/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DianaNites%2Flinux_modules/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DianaNites","download_url":"https://codeload.github.com/DianaNites/linux_modules/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238974720,"owners_count":19561602,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["kernel-module","kmod","linux","linux-modules","rust-lang"],"created_at":"2024-09-24T19:10:00.748Z","updated_at":"2025-02-15T09:31:44.082Z","avatar_url":"https://github.com/DianaNites.png","language":"Rust","readme":"# Linux Modules\n\n[![standard-readme compliant](https://img.shields.io/badge/readme%20style-standard-brightgreen.svg?style=flat)](https://github.com/RichardLitt/standard-readme)\n[![linux_modules crates.io version and link](https://img.shields.io/crates/v/linux_modules.svg)](https://crates.io/crates/linux_modules)\n![linux_modules Crates.io license](https://img.shields.io/crates/l/linux_modules)\n[![linux_modules docs.rs badge](https://docs.rs/linux_modules/badge.svg)](https://docs.rs/linux_modules)\n\nTool To Manage Linux Kernel Modules\n\nThis is a tool to manage your Linux Kernel Modules.\nIt is an alternative to `modprobe`, and supports listing, adding, and removing modules,\nas well as displaying information on them.\n\nIt does not yet support modprobe style dependencies or aliases,\nand is not capable of displaying module signature data, except whether one exists or not.\n\n## Install\n\n```shell\ncargo install linux_modules\n```\n\n## Usage\n\n### CLI\n\n```shell\n$ nms info loop\n╭───────────────────┬──────────────────────────────────────╮\n│ File              ┆ /lib/modules/6.3.1-arch2-1/kernel/dr │\n│                   ┆ ivers/block/loop.ko.zst              │\n╞═══════════════════╪══════════════════════════════════════╡\n│ Authors           ┆                                      │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ License           ┆ GPL                                  │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Description       ┆                                      │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Version           ┆                                      │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Firmware          ┆                                      │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Alias             ┆ devname:loop-control                 │\n│                   ┆ char-major-10-237                    │\n│                   ┆ block-major-7-*                      │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Dependencies      ┆                                      │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Soft Dependencies ┆                                      │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ In Tree           ┆ true                                 │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Retpoline         ┆ true                                 │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Staging           ┆ false                                │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Version Magic     ┆ 6.3.1-arch2-1 SMP preempt mod_unload │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Source Checksum   ┆ B9EBD1F7F134B1C20C5B09B              │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Parameters        ┆ ╭────────────┬───────────┬─────────╮ │\n│                   ┆ │ Name       ┆ Descripti ┆ Type    │ │\n│                   ┆ │            ┆ on        ┆         │ │\n│                   ┆ ╞════════════╪═══════════╪═════════╡ │\n│                   ┆ │ hw_queue_d ┆ Queue     ┆ Unknown │ │\n│                   ┆ │ epth       ┆ depth for ┆         │ │\n│                   ┆ │            ┆ each      ┆         │ │\n│                   ┆ │            ┆ hardware  ┆         │ │\n│                   ┆ │            ┆ queue.    ┆         │ │\n│                   ┆ │            ┆ Default:  ┆         │ │\n│                   ┆ │            ┆ 128       ┆         │ │\n│                   ┆ ├╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┤ │\n│                   ┆ │ max_loop   ┆ Maximum   ┆ int     │ │\n│                   ┆ │            ┆ number of ┆         │ │\n│                   ┆ │            ┆ loop      ┆         │ │\n│                   ┆ │            ┆ devices   ┆         │ │\n│                   ┆ ├╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌┤ │\n│                   ┆ │ max_part   ┆ Maximum   ┆ int     │ │\n│                   ┆ │            ┆ number of ┆         │ │\n│                   ┆ │            ┆ partition ┆         │ │\n│                   ┆ │            ┆ s per     ┆         │ │\n│                   ┆ │            ┆ loop      ┆         │ │\n│                   ┆ │            ┆ device    ┆         │ │\n│                   ┆ ╰────────────┴───────────┴─────────╯ │\n├╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┼╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌╌┤\n│ Signature         ┆ true                                 │\n╰───────────────────┴──────────────────────────────────────╯\n```\n\nNote that the table size will adapt to your terminal.\nThis example uses size `60`.\n\n### Pager\n\n`nms info` and `nms list` automatically pipe output to a pager,\ndefaulting to `less`, but this may be customized through environment variables.\n\nSee the [`pager`](https://crates.io/crates/pager) crate for details on\nhow to customize what pager is used.\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for version history\n\n## Contributing\n\nThis crate is not looking for contributors at this time.\n\nHowever, feel free to ask questions and request bindings using github issues,\nor suggest/discuss API improvements.\n\nUnless you explicitly state otherwise, any contribution intentionally submitted\nfor inclusion in the work by you, as defined in the Apache-2.0 license, shall be\ndual licensed as below, without any additional terms or conditions.\n\n## License\n\nLicensed under either of\n\n- Apache License, Version 2.0\n   ([LICENSE-APACHE](LICENSE-APACHE) or \u003chttp://www.apache.org/licenses/LICENSE-2.0)\u003e\n- MIT license\n   ([LICENSE-MIT](LICENSE-MIT) or \u003chttp://opensource.org/licenses/MIT)\u003e\n\nat your option.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiananites%2Flinux_modules","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiananites%2Flinux_modules","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiananites%2Flinux_modules/lists"}