[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] SF Bug 1192739
From: |
Eric Sorenson |
Subject: |
[PATCH] SF Bug 1192739 |
Date: |
Fri, 6 May 2005 08:27:25 -0700 (PDT) |
I tracked down bug 1192739 to some code in 'df.c' which lumps Linux in
with AIX, SCO and Cray as lacking a 'f_bavail' member of its statfs
struct. Linux (at least, all the linuxes I have access to) does have
f_bavail, so the following patch makes sense. It also appears to work,
the relevant -d2 output is
GetDiskUsage(/) = 4251556/22
Free space above 1024000, defining
Which matches my df output:
/dev/hda2 20161204 14885508 4251556 78% /
--
- Eric Sorenson - N37 17.255 W121 55.738 - http://eric.explosive.net -
- Personal colo with a professional touch - http://www.explosive.net -
linux-df.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] SF Bug 1192739,
Eric Sorenson <=