Have migrate mount a dummy tmpfs to /dev/base because we don't have an option to unmount

This commit is contained in:
K. Lange 2018-06-08 13:46:10 +09:00
parent bb405c7bb4
commit f4ba7b0e50
1 changed files with 1 additions and 0 deletions

View File

@ -199,6 +199,7 @@ int main(int argc, char * argv[]) {
TRACE("Migrating root...");
copy_directory("/dev/base","/",0660);
system("mount tmpfs x /dev/base");
if (strstr(root, "/dev/ram") != NULL) {
char * tmp = strdup(root);