Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Mar 2005 01:50:44 GMT
From:      Hiroyuki Komatsu <kom@narihara-lab.jp>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/78434: -current does not cdboot
Message-ID:  <200503050150.j251oiw3084484@www.freebsd.org>
Resent-Message-ID: <200503050200.j2520Y0b013123@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503050150.j251oiw3084484>