discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Peculiar error in GWorkspace


From: Chris B . Vetter
Subject: Peculiar error in GWorkspace
Date: Mon, 7 Jan 2002 12:34:28 -0800

Hi,

It doesn't look like it's actually an error in GWorkspace, but there is
a very peculiar error in File Viewer, with respect to available disk space:

[...]
 :0> df -h
 Filesystem    Size   Used  Avail Capacity  Mounted on   GWorkspace
 /dev/da0s1a   2.0G    82M   1.7G     4%    /                1.72G
 /dev/da1s1b   2.0G     0K   2.0G     0%    swap
 /dev/da1s1b   496M   3.0K   456M     0%    /tmp             0.45G
 /dev/da2s1e   3.9G    31M   3.6G     1%    /var             3.57G
 /dev/da3s1e   3.9G   577M   3.0G    16%    /usr             3.04G
 /dev/da4s1e   8.3G   473M   7.2G     6%    /usr/local       3.18G huh?
 /dev/da5s1e   8.3G   4.3G   3.3G    56%    /usr/ports       3.35G
 /dev/da6s1e   8.3G   226M   7.4G     3%    /opt             3.40G huh?
 /dev/da7s1e    33G   8.2G    22G    27%    /home            2.08G huh?
 :0>
[...]

As you can see, it only affects drive da4, da6 and da7, as if larger
drives cannot be handled correctly, if used and available space differ
too much, since GWorkspace shows space on disk da5 as supposed to.

Looking at the source in GWorkspace/Viewers/ViewersWin.m,
 -updateInfoString calls [NSFileManager fileSystemAttributesAtPath:],
which in turn calls GetDiskFreeSpace() - but where the heck is it?

A grep(1) only returns one call in base/Source/NSFileManager.m ...

-- 
Chris



reply via email to

[Prev in Thread] Current Thread [Next in Thread]