Make sure GEOM has stopped rattling the disks before we try to mount

the root filesystem, this may be implicated in the PC98 issue.
This commit is contained in:
Poul-Henning Kamp 2002-10-24 19:26:08 +00:00
parent d3eaf40966
commit 7c0c26b4c4

View File

@ -1465,6 +1465,8 @@ vfs_mountroot(void)
panic("Root mount failed, startup aborted.");
}
void g_waitidle(void);
/*
* Mount (mountfrom) as the root filesystem.
*/
@ -1483,6 +1485,8 @@ vfs_mountroot_try(char *mountfrom)
mp = NULL;
error = EINVAL;
g_waitidle();
if (mountfrom == NULL)
return(error); /* don't complain */