[OpenAFS] Version of du that doesn't traverse AFS mount points?

Chas Williams (CONTRACTOR) chas@cmf.nrl.navy.mil
Wed, 27 Aug 2008 07:10:54 -0400


In message <B09C2D0A-0C85-4DCC-9C44-F5CA7BFEBD24@inf.ed.ac.uk>,Simon Wilkinson 
writes:
>Unless I'm missing something, this breaks anything that relies on  
>stat's st_dev field to determine whether a file is in AFS or not.  
>Filedrawers is one example, and I'm sure there are others.

too bad. it would be pretty elegant.  although afs volume id's are
fairly consistent.  if the 2^29 bit is set are almost assured that is
a file on an afs volume.