Follow-up Comment #8, bug #24140 (project findutils):

On the basis of an earlier conversation with Jeffrey Hutzelman, I would
assume that on systems where AFS is available (i.e. AFS libraries were
detected at configure time) we can use a pioctl() call to check whether we're
inside an AFS volume each time we observe a change in st_dev.

Such an approach would be quite efficient since a pioctl call could occur a
maximum of N*M times, where N is the number of mounted filesystems and M is
the number of start-points listed on find's command line.   Even the O(N*M)
figure should be reducible to O(N) with the use of a cache.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?24140>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/



Reply via email to