[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts
From: |
Jim Meyering |
Subject: |
Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts |
Date: |
Thu, 12 Jul 2007 22:32:19 +0200 |
Albert Chin <address@hidden> wrote:
...
> So, looks like we don't want STAT_STATVFS on this platform. Maybe we
> should check for STAT_STATFS3_OSF1 first in m4/fsusage.m4 before
> STAT_STATVFS?
Thanks for pursuing this.
Unfortunately, that is too risky. statvfs is the preferred
interface, and other systems have both.
Since Tru64 UNIX 5.1 is not exactly mainstream, and the goal
here is to work around their statvfs bug, I'm willing to add to
this exclusion list in fsusage.m4:
#if defined __GLIBC__ && !defined __BEOS__
Do not use statvfs on systems with GNU libc, because that function stats
all preceding entries in /proc/mounts, and that makes df hang if even
one of the corresponding file systems is hard-mounted, but not available.
statvfs in GNU libc on BeOS operates differently: it only makes a system
call.
#endif
E.g., add these lines after that block:
#ifdef TRU64
"Do not use Tru64's statvfs implementation"
#endif
Does that solve the problem for you?
- coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/05
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, James Youngman, 2007/07/06
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/06
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/06
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Jim Meyering, 2007/07/06
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/09
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/12
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts,
Jim Meyering <=
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/12
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Jim Meyering, 2007/07/13
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Albert Chin, 2007/07/13
- Re: coreutils-6.9 and Tru64 UNIX 5.1 FFM mounts, Jim Meyering, 2007/07/13