Have migrate mount a dummy tmpfs to /dev/base because we don't have an option to unmount
This commit is contained in:
parent
bb405c7bb4
commit
f4ba7b0e50
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue