> Wouldn't it simpler to scan the nfs tree, if it is mounted ?
Yes. But that wouldnt work with http and rsync sources