[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Issues with mountlist.c and fsusage.c
From: |
Paul Eggert |
Subject: |
Re: Issues with mountlist.c and fsusage.c |
Date: |
Sun, 13 Jan 2008 22:28:46 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Thomas Guyot-Sionnest <address@hidden> writes:
> 1. When using get_fs_usage on FreeBSD with a partition filled over 100%
> (this can happen when disk usage grows beyond what's available to normal
> users), fsu_bavail becomes insanely high.
It's wrapped around. coreutils+gnulib deals with this; I don't recall
the details but you can read the source as well as I.
> Although mountlist.c and fsusage.c support such filesystem sizes (I've
> been able to check fake 80TiB partitions using sparse files on Linux) it
> does not try to detect and use statvfs64.
It shouldn't have to. Just use AC_SYS_LARGEFILE. You shouldn't be
wasting your time with 32-bit file system interfaces.