[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#11844: du: continue processing after bind-mount induced dir-cycle
From: |
Paul Eggert |
Subject: |
bug#11844: du: continue processing after bind-mount induced dir-cycle |
Date: |
Mon, 02 Jul 2012 16:49:14 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux i686; rv:13.0) Gecko/20120615 Thunderbird/13.0.1 |
On 07/02/2012 10:04 AM, Jim Meyering wrote:
> - read+stat all mount points at start-up
This sounds like it might have problems on hosts that have
lots of mount points, or where some mount points are remote.
I've been on many systems where statting a remote
mount point can take a long time, or even hang indefinitely.
The problem with remote mounts might be attacked by using
getmntent to find out which mount points are on the
current file system and can therefore be safely statted
(I haven't used getmntent enough to know whether this is feasible,
sorry).