]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
No longer call sync by default.
authorJim Meyering <jim@meyering.net>
Sat, 20 Apr 1996 03:51:10 +0000 (03:51 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 20 Apr 1996 03:51:10 +0000 (03:51 +0000)
src/df.c

index a5c84ae002277e9ab85c7752f77bf3666c71ab26..41780f10d8a67eab46bc3c563aab791861bed34a 100644 (file)
--- a/src/df.c
+++ b/src/df.c
@@ -78,11 +78,10 @@ static int posix_format;
 
 /* If nonzero, invoke the `sync' system call before getting any usage data.
    Using this option can make df very slow, especially with many or very
-   busy disks.  Default to nonzero because the sync call does make a
-   difference on some systems -- SunOs4.1.3, for one.  I have been assured
-   that it is *not* necessary on Linux, so there should be a way to
-   configure this.  FIXME.  */
-static int require_sync = 1;
+   busy disks.  Note that this may make a difference on some systems --
+   SunOs4.1.3, for one.  I have been assured that it is *not* necessary
+   on Linux.  */
+static int require_sync = 0;
 
 /* Nonzero if errors have occurred. */
 static int exit_status;