No longer call sync by default.

This commit is contained in:
Jim Meyering
1996-04-20 03:51:10 +00:00
parent 5ac0cdbfce
commit a2d90c1616
+4 -5
View File
@@ -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;