unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (Debian-3.1)
Page:
Section:
Apropos / Subsearch:
optional field

UPDATE-MODULES(8)           System Manager's Manual          UPDATE-MODULES(8)



NAME
       update-modules - (re)generate /etc/modules.conf and /etc/chandev.conf

SYNOPSIS
       update-modules [force]

DESCRIPTION
       update-modules  is  a  simple  tool  to  manage  /etc/modules.conf  and
       /etc/chandev.conf for the s390 architecture.  The Linux  module  utili-
       ties use one configuration file for all their configuration. This makes
       it hard for packages to dynamically add  information  about  their  own
       modules. To fix this update-modules has been introduced.

       update-modules  attempts  to  fix  this by generating the configuration
       file from seperate files which are located in /etc/modutils.  All files
       in  that directory are assembled together to form /etc/modules.conf and
       /etc/chandev.conf.  There is also a  special  subdirectory  (/etc/modu-
       tils/arch)   which  contains  information  for  special  architectures.
       update-modules determines the architecture and selects  which  file  it
       must use.

       After  generation  a  backup  of  the  old  file  is  put  in /etc/mod-
       ules.conf.old or /etc/chandev.conf.old.

FILES
       There are two types of file you can put in /etc/modutils: normal  files
       and  exectuable files. Normal files contain standard modules configura-
       tion information, as described in modules.conf(5).  Files with the suf-
       fix  .chandev  contain  the module options, as described in chandev(8).
       The special file 0chandev.chandev contains  the  channel  device  layer
       specific  options.   Executable  files are executed and their output is
       used as extra configuration information. Error messages sent to  stderr
       are not redirected.

       update-modules  will  ignore  files  that  match  the following regular
       expression:
              *\(\.dpkg-[a-z]*\|~\)$
       (ie  files  with  the  extension  .dpkg-new,  .dpkg-orig,   .dpkg-dist,
       .dpkg-old, or whose filename end with a ~).

OPTIONS
       force  update-modules   check  if  the  current  /etc/modules.conf  and
              /etc/chandev.conf are generated files by checking for a  special
              tag  on  the  first line. If this tag is not found generation is
              aborted. By supplying force  as  parameter  only  a  warning  is
              printed.

SEE ALSO
       depmod(1) modules.conf(5) modprobe(8) chandev(8),

BUGS
       None of course! :)

AUTHOR
       This  manual page was written by Wichert Akkerman <wakkermaATdebian.org>
       for the Debian GNU/Linux system.



DEBIAN                      Debian GNU/Linux tools           UPDATE-MODULES(8)