FreeBSD 5.0 has stopped shipping /modules 2.5 years ago. Catch

up with this further by excluding /modules from the (default)
kern.module_path.
This commit is contained in:
Ruslan Ermilov 2003-03-03 22:53:35 +00:00
parent f2bffe0f7f
commit 6de61153e8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=111852
4 changed files with 4 additions and 4 deletions

View File

@ -200,7 +200,7 @@
Sets the list of directories which will be searched in for modules
named in a load command or implicitly required by a dependancy. The
default module_path is "/boot/kernel;/boot/modules;/modules".
default module_path is "/boot/kernel;/boot/modules".
################################################################################
# Tset Sprompt DSet the command prompt

View File

@ -374,7 +374,7 @@ Define the number of lines on the screen, to be used by the pager.
Sets the list of directories which will be searched in for modules
named in a load command or implicitly required by a dependency.
The default value for this variable is
.Dq Li /;/boot;/modules .
.Dq Li /boot/kernel;/boot/modules .
.It Va num_ide_disks
Sets the number of IDE disks as a work around for some problems in
finding the root disk at boot.

View File

@ -65,7 +65,7 @@ static void moduledir_rebuild(void);
/* load address should be tweaked by first module loaded (kernel) */
static vm_offset_t loadaddr = 0;
static const char *default_searchpath ="/boot/kernel;/boot/modules;/modules";
static const char *default_searchpath ="/boot/kernel;/boot/modules";
static STAILQ_HEAD(, moduledir) moduledir_list = STAILQ_HEAD_INITIALIZER(moduledir_list);

View File

@ -1343,7 +1343,7 @@ SYSINIT(preload, SI_SUB_KLD, SI_ORDER_MIDDLE, linker_preload, 0)
*/
static char linker_hintfile[] = "linker.hints";
static char linker_path[MAXPATHLEN] = "/boot/kernel;/boot/modules;/modules";
static char linker_path[MAXPATHLEN] = "/boot/kernel;/boot/modules";
SYSCTL_STRING(_kern, OID_AUTO, module_path, CTLFLAG_RW, linker_path,
sizeof(linker_path), "module load search path");