kern/78434: -current does not cdboot
Hiroyuki Komatsu
kom at narihara-lab.jp
Sat Mar 5 02:00:34 GMT 2005
>Number: 78434
>Category: kern
>Synopsis: -current does not cdboot
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 05 02:00:33 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Hiroyuki Komatsu
>Release: 6.0-CURRENT
>Organization:
>Environment:
FreeBSD rei.narihara-lab.jp 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Wed Feb 9 18:44:38 JST 2005 kom at rei:/.fs/ad2s1d/usr/obj/.fs/ad2s1d/usr/src/sys/rei i386
>Description:
vfs_mountroot_try() dos not set "rrip" mount option
>How-To-Repeat:
>Fix:
diff -u -r1.181 vfs_mount.c
--- vfs_mount.c 20 Feb 2005 23:02:20 -0000 1.181
+++ vfs_mount.c 4 Mar 2005 12:20:32 -0000
@@ -1254,6 +1254,7 @@
"fstype", vfsname,
"fspath", "/",
"from", path,
+ "rrip", 0,
NULL);
if (error == 0) {
mp = TAILQ_FIRST(&mountlist);
@@ -1697,7 +1698,10 @@
if (cp == NULL)
break;
vp = va_arg(ap, const void *);
- ma = mount_arg(ma, cp, vp, -1);
+ if (vp == NULL)
+ ma = mount_arg(ma, cp, NULL, 0);
+ else
+ ma = mount_arg(ma, cp, vp, -1);
}
va_end(ap);
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list