[OpenAFS] check in c (linux) whether a directory entry is a mount point for an AFS volume

Stephan Wiesand stephan.wiesand@desy.de
Fri, 3 Aug 2018 13:22:05 +0200


> On 3. Aug 2018, at 13:08, Christian <chanlists@googlemail.com> wrote:

> is there an easy  way to check in C (under linux) whether a directory
> entry is a mount point for an afs volume and maybe also obtain the name
> of the volume mounted?

popen("fs lsm /the/path", "r") ?