summaryrefslogtreecommitdiffstats
path: root/package/makedevs
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-03-12 22:24:34 +0100
committerPeter Korsgaard <jacmet@sunsite.dk>2011-03-12 22:27:06 +0100
commit707dc469aa4f51a85a62b2587ac57ef2a4db7873 (patch)
tree33ede5f1c65dd80b6cae262c5409447b6ca8220d /package/makedevs
parent3d0a569412545d2ce650a7d38df15faf1e2137cd (diff)
downloadbuildroot-novena-707dc469aa4f51a85a62b2587ac57ef2a4db7873.tar.gz
buildroot-novena-707dc469aa4f51a85a62b2587ac57ef2a4db7873.zip
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>
Diffstat (limited to 'package/makedevs')
-rw-r--r--package/makedevs/makedevs.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/package/makedevs/makedevs.c b/package/makedevs/makedevs.c
index 79cfc609b..9fc71af54 100644
--- a/package/makedevs/makedevs.c
+++ b/package/makedevs/makedevs.c
@@ -536,8 +536,5 @@ loop:
}
fclose(table);
- if (system("/bin/sync"))
- bb_error_msg("sync failed, continuing anyway");
-
return 0;
}