[OpenAFS] OpenAFS 1.5.53 more free space reported to Finder

Derrick Brashear shadow@gmail.com
Sun, 28 Sep 2008 20:09:21 -0400


On Fri, Sep 26, 2008 at 11:48 AM, Matt Elliott <melliott@ncsa.uiuc.edu> wrote:
>>MacOS clients:
>>
>> * Show more space free so Finder doesn't get confused.
>
>
> I'm not seeing a change in behavior.
>
>   host: melliott$ df -k
>   AFS                 16000000         0  16000000     0%    /afs
>
> df still reports the same size.  If I try and move a 56GB folder of stuff into a volume that has sufficient quota I still get a error that reads
>   "The item "Name" cannot be coppied because there is not enough free space."
>
> I tried to look through the diff file and find the change specific to this issue but didn't see anything obvious.  Can someone point me to the right spot?
>

--- osi_vfsops.c        4 Jan 2007 22:08:26 -0000       1.18
+++ osi_vfsops.c        22 Aug 2008 19:26:38 -0000      1.19
#include <afsincludes.h>       /* Afs-based standard headers */
@@ -383,7 +383,7 @@
     abp->f_blocks = abp->f_bfree = abp->f_bavail = abp->f_files =
        abp->f_ffree =
 #ifdef AFS_DARWIN80_ENV
-       2147483648
+        0xffffffffffffffff
 #else
        2000000
 #endif

I see the behavior you do, which is odd because I know I tested this.