makedevs: don't call /bin/sync after creating nodes

Closes #3475

There's no real reason to sync after creating the device nodes,
and it slows down the file system image creating quite a lot on
busy systems, so get rid of it.

Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
This commit is contained in:
Peter Korsgaard
2011-03-12 22:24:34 +01:00
parent 3d0a569412
commit 707dc469aa
2 changed files with 6 additions and 5 deletions

View File

@@ -536,8 +536,5 @@ loop:
}
fclose(table);
if (system("/bin/sync"))
bb_error_msg("sync failed, continuing anyway");
return 0;
}