summaryrefslogtreecommitdiffstats
path: root/docs/README
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-10-06 09:12:56 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-10-06 09:12:56 +0000
commit8f7cb6dae22fc5adc6eb8c57605e16f97cfee179 (patch)
tree51a302870b37255a39a4758b4ceb24ed798e4fba /docs/README
parentca14a502d413a9a80a035b7fe29541fcfe0da637 (diff)
downloaddrakx-backup-do-not-use-8f7cb6dae22fc5adc6eb8c57605e16f97cfee179.tar
drakx-backup-do-not-use-8f7cb6dae22fc5adc6eb8c57605e16f97cfee179.tar.gz
drakx-backup-do-not-use-8f7cb6dae22fc5adc6eb8c57605e16f97cfee179.tar.bz2
drakx-backup-do-not-use-8f7cb6dae22fc5adc6eb8c57605e16f97cfee179.tar.xz
drakx-backup-do-not-use-8f7cb6dae22fc5adc6eb8c57605e16f97cfee179.zip
no_comment
Diffstat (limited to 'docs/README')
-rw-r--r--docs/README30
1 files changed, 30 insertions, 0 deletions
diff --git a/docs/README b/docs/README
index 4de3c0ae5..d3432e34c 100644
--- a/docs/README
+++ b/docs/README
@@ -111,3 +111,33 @@ For cdrom install, the ramdisk is used to speed up things (access time is quite
high on cdrom drives)
For pcmcia, it depends on the type of install.
+
+
+********************************************************************************
+* modules **********************************************************************
+********************************************************************************
+Modules can be found in at least 3 places:
+- in /modules/modules.cgz
+- in /lib/modules/
+- in /lib/modules/modules.cpio.bz2
+
+/modules/modules.cgz is used in stage1. It contains only modules interesting for
+one kind of install. For example in an gi_hd install, it contains scsi modules.
+For an gi_network install, it contains network card modules.
+
+/lib/modules/ contains modules that should be in /lib/modules/modules.cpio.bz2
+but are not for speed up. The serial.o module is there to speed up mouseconfig.
+
+/lib/modules/modules.cpio.bz2 contains every module except those of
+/lib/modules/
+
+
+To install a module, use modprobe which is in /usr/bin. It's a perl wrapper
+around /usr/bin/insmod. It uses the dependencies found in
+/lib/modules/modules.dep (stage1).
+
+/usr/bin/insmod is a wrapper around /usr/bin/insmod_. It just extracts the
+module out of /lib/modules/modules.cpio.bz2 in /tmp. Then it calls insmod_.
+
+/usr/bin/insmod_ is the real prog (which you usually find in /sbin/). You need
+to give it the complete path.