[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#7355: coreutils df on OSX reports wrong sizes for large filesystems
From: |
Tim Spriggs |
Subject: |
bug#7355: coreutils df on OSX reports wrong sizes for large filesystems |
Date: |
Mon, 8 Nov 2010 20:41:13 -0700 |
2010/11/8 Pádraig Brady <address@hidden>:
> Also could you give your exact version of OSX.
> I had a quick google for statfs64 and OSX and
> it seems that _DARWIN_USE_64_BIT_INODE needs to
> be defined (and your OSX version to support symbol variants).
> Could you try adding that as the first line in df.c? I.E.
>
> #define _DARWIN_USE_64_BIT_INODE 1
>
> If that's the case, then it seems like the AC_SYS_LARGEFILE
> would need to be updated in autoconf to handle this.
>
> cheers,
> Pádraig.
I added the define and then ran a vanilla ./configure && make with the
same results.
>From the system_profiler command I can get the version of OSX:
System Software Overview:
System Version: Mac OS X 10.6.4 (10F2521)
Kernel Version: Darwin 10.4.2
Boot Volume: guru
Boot Mode: Normal
Computer Name: guru
User Name: Prefix User (prefix)
Secure Virtual Memory: Not Enabled
64-bit Kernel and Extensions: Yes
Time since boot: 4 days 19:42
The coreutils package in prefix is labelled as coreutils-8.5-r01.1
I can reproduce this on a 10.5 (Leopard) host as well with identical results.