diff options
author | obrien <obrien@FreeBSD.org> | 2000-09-05 22:37:46 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-09-05 22:37:46 +0000 |
commit | 6de7dfbb5addebdbd6fd8b8b3907632862b2f4ba (patch) | |
tree | a46fa7d5e288c56eba81ee5cbf9d55936212d11c /sys/boot/common | |
parent | 508fb708e11430ef70bfe03c5cc9002582a3d79d (diff) | |
download | FreeBSD-src-6de7dfbb5addebdbd6fd8b8b3907632862b2f4ba.zip FreeBSD-src-6de7dfbb5addebdbd6fd8b8b3907632862b2f4ba.tar.gz |
The kernel is now known as `kernel.ko' and it and its matching modules
live in ``/boot/kernel/''.
Diffstat (limited to 'sys/boot/common')
-rw-r--r-- | sys/boot/common/boot.c | 2 | ||||
-rw-r--r-- | sys/boot/common/module.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/common/boot.c b/sys/boot/common/boot.c index ae3cb77..067012c 100644 --- a/sys/boot/common/boot.c +++ b/sys/boot/common/boot.c @@ -38,7 +38,7 @@ static char *getbootfile(int try); /* List of kernel names to try (may be overwritten by boot.config) XXX should move from here? */ -static const char *default_bootfiles = "kernel;kernel.old"; +static const char *default_bootfiles = "/boot/modules/kernel.ko"; static int autoboot_tried; diff --git a/sys/boot/common/module.c b/sys/boot/common/module.c index effb848..192e58d 100644 --- a/sys/boot/common/module.c +++ b/sys/boot/common/module.c @@ -49,7 +49,7 @@ struct file_metadata* metadata_next(struct file_metadata *base_mp, int type); /* load address should be tweaked by first module loaded (kernel) */ static vm_offset_t loadaddr = 0; -static const char *default_searchpath ="/;/boot;/modules"; +static const char *default_searchpath ="/boot/modules;/modules;/boot/kernel"; struct preloaded_file *preloaded_files = NULL; |