From ce8c4934005fb020ee63b75191b67718d8e42629 Mon Sep 17 00:00:00 2001 From: yar Date: Mon, 18 Feb 2008 20:58:57 +0000 Subject: Undo the damage I did in sys/kern/vfs_mount.c #1.274 and sbin/mount_nfs/mount_nfs.c #1.76. Let the dragons sleep. Requested by: rodrigc, des PR: kern/120319 (welcome the bug back) --- sys/kern/vfs_mount.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/kern/vfs_mount.c') diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index a494401..0f829a9 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -1730,11 +1730,10 @@ vfs_mountroot_try(const char *mountfrom) strcpy(path, ROOTNAME); error = kernel_vmount( - MNT_ROOTFS, + MNT_RDONLY | MNT_ROOTFS, "fstype", vfsname, "fspath", "/", "from", path, - "ro", NULL, NULL); if (error == 0) { /* -- cgit v1.1