[OpenAFS] AFS version of du

Staffan Hämälä sh@ltu.se
Fri, 30 Apr 2010 10:15:44 +0200

Is there a version of du that does not follow AFS mountpoints?

If I try to do a 'du -sh *' in a directory that has some AFS mountpoints 
it inevitably fails after some time. It also takes a lot of time when it 
has to look through things in mounted volumes (e.g. the backup volume 
that I have mounted in many places).

I've tried -P and -x to make it skip mount points, but it doesn't work 
(at least on CentOS 5 Linux).