Promote fsync.
authorRob Landley <rob@landley.net>
Sat, 25 Jul 2015 00:58:59 +0000 (19:58 -0500)
committerRob Landley <rob@landley.net>
Sat, 25 Jul 2015 00:58:59 +0000 (19:58 -0500)
toys/other/fsync.c [moved from toys/pending/fsync.c with 88% similarity]

similarity index 88%
rename from toys/pending/fsync.c
rename to toys/other/fsync.c
index bf673df..e6f6c8d 100644 (file)
@@ -8,14 +8,15 @@ USE_FSYNC(NEWTOY(fsync, "<1d", TOYFLAG_BIN))
 
 config FSYNC
   bool "fsync"
-  default n
+  default y
   help
-    usage: fsync [d] [FILE...]
+    usage: fsync [-d] [FILE...]
 
     Synchronize a file's in-core state with storage device.
 
-    -d Avoid syncing metadata.
+    -d Avoid syncing metadata.
 */
+
 #define FOR_fsync
 #include "toys.h"