*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> kldconfig (8)              



NAME    [Toc]    [Back]

     kldconfig -- display or modify the kernel module search path

SYNOPSIS    [Toc]    [Back]

     kldconfig [-dfimnUv] [-S name] [path ...]
     kldconfig -r

DESCRIPTION    [Toc]    [Back]

     The kldconfig utility displays or modifies the search path used by the
     kernel when loading modules using the kldload(8) utility or the
     kldload(2) syscall.

     The following options are available:

     -d      Remove the specified paths from the module search path.

     -f      Do not display a diagnostic message if a path specified for
	     adding is already present in the search path, or if a path specified
 for removing is not present in the search path.  This may be
	     useful in startup/shutdown scripts for adding a path to a file
	     system which is still not mounted, or in shutdown scripts for
	     unconditionally removing a path that may have been added during

     -i      Add the specified paths to the beginning of the search path, not
	     to the end.  This option can only be used when adding paths.

     -m      Instead of replacing the module search path with the set of paths
	     specified, ``merge'' in the new entries.

     -n      Do not actually change the module search path.

     -r      Display the current search path.  This option cannot be used if
	     any paths are also specified.

     -S name
	     Specify the sysctl name to use instead of the default

     -U      ``Unique-ify'' the current search path - if any of the directories
 is repeated one or more times, only the first occurrence
	     remains.  This option implies -m.

     -v      Verbose output: display the new module search path.  If the path
	     has been changed, and the -v flag is specified more than once,
	     the old path is displayed as well.

FILES    [Toc]    [Back]

     /boot/kernel, /boot/modules, /modules
	     The default module search path used by the kernel.

DIAGNOSTICS    [Toc]    [Back]

     The kldconfig utility exits with a status of 0 on success and with a
     nonzero status if an error occurs.

SEE ALSO    [Toc]    [Back]

     kldload(2), kldload(8), sysctl(8)

HISTORY    [Toc]    [Back]

     The kldconfig utility first appeared in FreeBSD 4.4.

AUTHORS    [Toc]    [Back]

     Peter Pentchev <roam@FreeBSD.org>

FreeBSD 5.2.1			 June 15, 2001			 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
modpath HP-UX change global search path for dynamically loadable kernel modules
modinfo Linux display information about a kernel module
manpath Linux determine search path for manual pages
manpath FreeBSD determine user's search path for man pages
tag2name Tru64 Display the path name of an AdvFS file
config OpenBSD build kernel compilation directories or modify a kernel
srchtxt IRIX display contents of, or search for a text string in, message databases
fdcontrol FreeBSD display and modify floppy disk parameters
eeprom OpenBSD display or modify contents of the EEPROM or OpenPROM
eeprom OpenBSD display or modify contents of the EEPROM or OpenPROM
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service