summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-04-20 03:51:10 +0000
committerJim Meyering <jim@meyering.net>1996-04-20 03:51:10 +0000
commita2d90c16169cd806ee8a2575d3915dd6da23e0a7 (patch)
treec565b29b6108fe1ca397168bdf1ec448ebc02eb7
parent5ac0cdbfce66d50a38ef6a40d1a6ef2ac1bd09f7 (diff)
downloadcoreutils-a2d90c16169cd806ee8a2575d3915dd6da23e0a7.tar.xz
No longer call sync by default.
-rw-r--r--src/df.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/df.c b/src/df.c
index a5c84ae00..41780f10d 100644
--- 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;