GNU bug report logs - #9140
[du] broken on OSX 10.7 (Lion) for >4TB file systems

Previous Next

Package: coreutils;

Reported by: Herb Wartens <hawartens <at> gmail.com>

Date: Thu, 21 Jul 2011 16:04:03 UTC

Severity: normal

Tags: fixed

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Herb Wartens <hawartens <at> gmail.com>
To: bug-coreutils <at> gnu.org
Subject: Coreutils Bug on OSX 10.7 (Lion)
Date: Wed, 20 Jul 2011 23:54:17 -0700
[Message part 1 (text/plain, inline)]

After installing coreutils-8.12 on OSX 10.7 today, I found an issue immediately where df was overflowing the structure returned from statvfs.  On OSX 10.7 the relevant fields of the statvfs structure are defined to be fsblkcnt_t, or only 4 bytes long.  I have put together an initial fix for 10.7.  Hope this helps.

Looking through your bug reports, I believe this is likely a fix for bug 7355.

-Herb

[coreutils_du.diff (application/octet-stream, attachment)]
[Message part 3 (text/plain, inline)]



This bug report was last modified 6 years and 281 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.