diff options
author | ru <ru@FreeBSD.org> | 2004-09-30 21:48:51 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-09-30 21:48:51 +0000 |
commit | 97d41e4265ff6c326b41bfb96f942628cb4a8ee5 (patch) | |
tree | 39205168093477ac4107ad8d40956d6d967d1096 | |
parent | 3a45dd66e4017f4b2774688bb2985ac371ad0d28 (diff) | |
download | FreeBSD-src-97d41e4265ff6c326b41bfb96f942628cb4a8ee5.zip FreeBSD-src-97d41e4265ff6c326b41bfb96f942628cb4a8ee5.tar.gz |
Setting "kernel" to an absolute path is a bad idea because
after loading such a kernel, "module_path" will be set to
an insane value. Fixed example by providing an equivalent
setting. For the record, when automatically loading a
kernel (commands "boot" and "boot-conf"), the following is
tried, in this order:
path=/boot/${kernel} file=${bootfile}
path=/boot/${kernel} file=${kernel}
path=${kernel} file=${bootfile}
path=${kernel} file=${kernel}
path=${module_path} file=${kernel}
-rw-r--r-- | sys/boot/forth/loader.4th.8 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/forth/loader.4th.8 b/sys/boot/forth/loader.4th.8 index d5cf383..0e18724 100644 --- a/sys/boot/forth/loader.4th.8 +++ b/sys/boot/forth/loader.4th.8 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd April 25, 1999 +.Dd September 30, 2004 .Dt LOADER.4TH 8 .Os .Sh NAME @@ -183,7 +183,7 @@ start Load a different kernel with the standard configuration: .Pp .Bd -literal -offset indent -compact -set kernel="/boot/kernel.old/kernel" +set kernel="kernel.old" unload boot-conf .Ed |