kmod - Linux kernel module handling
Go to file
Lucas De Marchi 569f1609bd modprobe: kill operations depending on path
It was not on module-init-tools and it doesn't make much sense. It will
deal with dependencies, but looking at modules in the index. This might
not be the module we want if we are loading another from outside of the
tree.

Dealing with paths causes this bug (supposing there's a module names
squashfs):

	# cd /
	# touch squashfs
	# modprobe squashfs

That is because it detects that squashfs exists as a file and it will
try to load it instead of the alias "squashfs".

If you need to load a module from a path, use insmod.

Thanks to Silvan Calarco <silvan.calarco@mambasoft.it> who reported the
bug and helped debugging it.
2012-01-21 02:47:08 -02:00
libkmod libkmod-list: allow to append an empty list 2012-01-17 21:16:23 -02:00
m4 doc: add gtk-doc to generate documentation 2012-01-09 05:28:57 -02:00
man man: spelling fixes 2012-01-16 23:01:36 -02:00
test test: add check of module's state 2012-01-11 21:22:21 -02:00
tools modprobe: kill operations depending on path 2012-01-21 02:47:08 -02:00
.gitignore gitignore: ignore dist files 2011-12-21 11:44:25 -02:00
autogen.sh build-sys: rename autogen.sh to bootstrap and keep a symlink 2012-01-12 18:23:32 -02:00
bootstrap build-sys: rename autogen.sh to bootstrap and keep a symlink 2012-01-12 18:23:32 -02:00
bootstrap-configure build-sys: add script to bootstrap and configure 2012-01-12 18:33:05 -02:00
CODING-STYLE Add file with details regarding coding style 2011-12-15 00:43:54 -02:00
configure.ac Check if struct stat has mtim member 2012-01-17 12:22:55 -02:00
COPYING Change licenses 2011-12-12 18:24:35 -02:00
Makefile.am build-sys: forcefully create links 2012-01-18 19:48:16 -02:00
NEWS kmod 4 2012-01-16 16:53:04 -02:00
README build-sys: add script to bootstrap and configure 2012-01-12 18:33:05 -02:00
TODO TODO: system() should not be used inside a library 2012-01-20 13:04:43 -02:00

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.

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

Mailing list:
	linux-modules@vger.kernel.org

Repository:
	git://git.profusion.mobi/