pub/scm/linux/kernel/git/mmarek/kmod.git  about / heads / tags
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kmod.git/
$ git log --pretty=format:'%h %s (%cs)%d'
8240333 config: also parse softdeps from modules (2014-04-01)
	(HEAD -> master)
450bd1b libkmod: Ignore errors from softdeps (2014-04-01)
3a33a7a build-sys: add hooks to build python bindings (2014-03-26)
5ad36e5 python: Remove unused files from import (2014-03-26)
299a3ad Merge branch 'master' of python-kmod (2014-03-26)
c03dfbd python: Issue #15: resovled by using setuptools_cython (2014-03-25)
60ce23e python: Issue #15: Cython needs to be in setup_requires (2014-03-25)
1f9c5a0 python: Issue #15 Cython is now a dependency (2014-03-25)
57a8efd python: update version to 0.9.1 (2014-03-25)
17b69ad python: Issue #13 skipping building extensions on non-Linux platforms (2014-03-25)
...

$ git cat-file blob HEAD:README
kmod - Linux kernel module handling

OVERVIEW
========

kmod is a set of tools to handle common tasks with Linux kernel modules like
insert, remove, list, check properties, resolve dependencies and aliases.

These tools are designed on top of libkmod, a library that is shipped with
kmod. See libkmod/README for more details on this library and how to use it.
The aim is to be compatible with tools, configurations and indexes from
module-init-tools project.

Compilation and installation
============================

In order to compiler the source code you need following software packages:
	- GCC compiler
	- GNU C library

Optional dependencies:
	- ZLIB library
	- LZMA library

Typical configuration:
	./configure CFLAGS="-g -O2" --prefix=/usr \
			--sysconfdir=/etc --libdir=/usr/lib

Configure automatically searches for all required components and packages.

To compile and install run:
	make && make install

Hacking
=======

Run 'bootstrap' script before configure. If you want to accept the recommended
flags, you just need to run 'bootstrap-configure'.

Make sure to read the CODING-STYLE file and the other READMEs: libkmod/README
and testsuite/README.

Information
===========

Signed packages:
	http://www.kernel.org/pub/linux/utils/kernel/kmod/

Mailing list:
	linux-modules@vger.kernel.org (no subscription needed)

Git:
	git://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
	http://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git
	https://git.kernel.org/pub/scm/utils/kernel/kmod/kmod.git

Gitweb:
	http://git.kernel.org/?p=utils/kernel/kmod/kmod.git

Irc:
	#kmod on irc.freenode.org

Compatibility with module-init-tools
====================================

kmod replaces module-init-tools, which is end-of-life. Most of its tools are
rewritten on top of libkmod so it can be used as a drop in replacements.
Somethings however were changed. Reasons vary from "the feature was already
long deprecated on module-init-tools" to "it would be too much trouble to
support it".

There are several features that are being added in kmod, but we don't
keep track of them here.

modprobe
--------

* 'modprobe -l' was marked as deprecated and does not exist anymore

* 'modprobe -t' is gone, together with 'modprobe -l'

* modprobe doesn't parse configuration files with names not ending in
  '.alias' or '.conf'. modprobe used to warn about these files.

* modprobe doesn't parse 'config' and 'include' commands in configuration
  files.

* modprobe from m-i-t does not honour softdeps for install commands. E.g.:
  config:

        install bli "echo bli"
	install bla "echo bla"
	softdep bla pre: bli

  With m-i-t, the output of 'modprobe --show-depends bla' will be:
        install "echo bla"

  While with kmod:
        install "echo bli"
        install "echo bla"

* kmod doesn't dump the configuration as is in the config files. Instead it
  dumps the configuration as it was parsed. Therefore, comments and file names
  are not dumped, but on the good side we know what the exact configuration
  kmod is using. We did this because if we only want to know the entire content
  of configuration files, it's enough to use find(1) in modprobe.d directories

depmod
------

* there's no 'depmod -m' option: legacy modules.*map files are gone

lsmod
-----

* module-init-tools used /proc/modules to parse module info. kmod uses
  /sys/module/*, but there's a fallback to /proc/modules if the latter isn't
  available

# heads (aka `branches'):
$ git for-each-ref --sort=-creatordate refs/heads \
	--format='%(HEAD) %(refname:short) %(subject) (%(creatordate:short))'
  testsuite-nocompression3 testsuite: Warn if sysconfdir is not /etc (2014-04-04)
* master       config: also parse softdeps from modules (2014-04-01)
  modinfo-signature2 testsuite: Add modinfo test for module signatures (2013-01-16)
  tip          depmod: unref kmod_module once we don't need it anymore (2012-10-30)

# tags:
$ git for-each-ref --sort=-creatordate refs/tags \
	--format='%(refname:short) %(subject) (%(creatordate:short))'
v12          kmod 12 (2012-12-05) tar.gz
v11          kmod 11 (2012-11-08) tar.gz
v10          kmod 10 (2012-09-06) tar.gz
v9           kmod 9 (2012-06-19) tar.gz
v8           kmod 8 (2012-04-19) tar.gz
v7           kmod 7 (2012-03-19) tar.gz
v6           kmod 6 (2012-03-02) tar.gz
v5           kmod 5 (2012-02-06) tar.gz
v4           kmod 4 (2012-01-16) tar.gz
v3           kmod 3 (2012-01-05) tar.gz
...

# associated public inboxes:
# (number on the left is used for dev purposes)
        500 linux-modules
         64 lkml
         27 linux-kbuild
         14 netdev
         13 qemu-devel
         11 linux-devicetree
         10 dpdk-dev
          9 u-boot
          8 xen-devel
          8 linux-arm-kernel
          8 util-linux
          8 dri-devel
          7 git
          7 intel-gfx
          6 linux-wireless
          5 linux-fsdevel
          5 linux-mm
          5 linux-media
          5 linux-mips
          5 selinux
          5 linuxppc-dev
          5 kvm
          5 linux-doc
          5 openembedded-devel
          4 linux-xfs
          4 alsa-devel
          4 amd-gfx
          4 linux-omap
          4 buildroot
          4 b4-sent
          4 intel-xe
          4 linux-hotplug
          3 linux-samsung-soc
          3 linux-fscrypt
          3 linux-mtd
          3 linux-riscv
          3 bpf
          3 linux-mediatek
          3 netfilter-devel
          3 linux-iommu
          3 stable
          3 linux-pm
          3 linux-rtc
          3 linux-scsi
          3 linux-btrfs
          3 driverdev-devel
          3 linux-kselftest
          3 linux-clk
          3 linux-iio
          3 linux-gpio
          3 linux-security-module
          3 linux-f2fs-devel
          3 linux-bluetooth
          3 linux-i2c
          3 lttng-dev
          3 virtualization
          3 linux-arch
          3 linux-can
          3 linux-rockchip
          3 nouveau
          3 iwd
          3 openembedded-core
          3 yocto-meta-arago
          3 linux-um
          3 poky
          3 qemu-riscv
          3 lvm-devel
          2 linux-block
          2 linux-nvme
          2 linux-nfs
          2 linux-crypto
          2 linux-acpi
          2 linux-cifs
          2 linux-arm-msm
          2 linux-amlogic
          2 linux-erofs
          2 linux-nvdimm
          2 linux-snps-arc
          2 fstests
          2 linux-input
          2 kvmarm
          2 linux-usb
          2 linux-renesas-soc
          2 linux-rdma
          2 linux-ext4
          2 linux-leds
          2 linux-pci
          2 linux-rt-users
          2 linux-ide
          2 linux-serial
          2 linux-watchdog
          2 linux-trace-devel
          2 backports
          2 linux-man
          2 linux-mmc
          2 linux-api
          2 linux-audit
          2 linux-spi
          2 linux-sparse
          2 linux-tegra
          2 ceph-devel
          2 containers
          2 linux-raid
          2 phone-devel
          2 openbmc
          2 dm-devel
          2 linux-fbdev
          2 linux-cxl
          2 linux-perf-users
          2 lustre-devel
          2 linux-sh
          2 linux-s390
          2 linux-coco
          2 b43-dev
          2 nvdimm
          2 ltp
          2 yocto
          2 yocto-meta-freescale
          2 yocto-toaster
          2 yocto-meta-arm
          2 bitbake-devel
          2 yocto-meta-virtualization
          2 yocto-meta-ti
          2 outreachy
          2 openrisc
          2 intel-wired-lan
          2 kexec
          2 batman
          2 virtio-comment
          2 cluster-devel
          2 grub-devel
          2 cgroups
          2 kvm-ppc
          2 linux-hexagon
          2 reiserfs-devel
          2 linux-nilfs
          2 virtio-fs
          2 ../../../../../../../fuego
          2 ../../../../../../../igt-dev
          1 cocci
          1 live-patching
          1 linux-efi
          1 linux-integrity
          1 linux-edac
          1 linux-hwmon
          1 kernel-hardening
          1 dmaengine
          1 linux-next
          1 linux-parisc
          1 kernelnewbies
          1 linux-sgx
          1 linux-hyperv
          1 workflows
          1 rcu
          1 selinux-refpolicy
          1 linux-m68k
          1 linux-i3c
          1 linux-spdx
          1 linux-wpan
          1 ksummit-discuss
          1 wireguard
          1 io-uring
          1 linux-kernel-mentees
          1 linux-csky
          1 tpmdd-devel
          1 linux-unionfs
          1 linux-firmware
          1 cip-dev
          1 linux-remoteproc
          1 linux-dash
          1 linux-bcache
          1 mm-commits
          1 linux-pwm
          1 linux-fpga
          1 xdp-newbies
          1 platform-driver-x86
          1 linux-hardening
          1 dash
          1 keyrings
          1 linux-sctp
          1 target-devel
          1 soc
          1 ocfs2-devel
          1 rust-for-linux
          1 ath10k
          1 ath11k
          1 linux-phy
          1 kernel-janitors
          1 sparclinux
          1 linux-staging
          1 linux-sunxi
          1 mptcp
          1 regressions
          1 ksummit
          1 linux-nfc
          1 linux-bcachefs
          1 ath9k-devel
          1 ntfs3
          1 llvm
          1 fio
          1 ell
          1 ofono
          1 yocto-docs
          1 linux-patches
          1 chrome-platform
          1 ntb
          1 xenomai
          1 damon
          1 asahi
          1 loongarch
          1 imx
          1 ath12k
          1 linux-trace-kernel
          1 oe-linux-nfc
          1 oe-kbuild-all
          1 oe-chipsec
          1 virtio-dev
          1 v9fs
          1 ecryptfs
          1 linux-ia64
          1 kbd
          1 autofs
          1 cpufreq
          1 dccp
          1 devicetree-spec
          1 devicetree-compiler
          1 initramfs
          1 hail-devel
          1 kvm-ia64
          1 linux-8086
          1 kernel-testers
          1 linux-alpha
          1 linux-btrace
          1 linux-embedded
          1 linux-hams
          1 linux-laptop
          1 linux-sound
          1 trinity
          1 linux-metag
          1 linux-x25
          1 lvs-devel
          1 netfilter
          1 linux-oxnas
          1 u-boot-amlogic
          1 lm-sensors
          1 acpica-devel
          1 bridge
          1 perfbook
          1 smatch
          1 ../../../../../../../wireless-regdb
          1 ../../../../../../../powertop

git clone https://80x24.org/lore/pub/scm/linux/kernel/git/mmarek/kmod.git