API to retrieve network path for a volume on OSX

70 Views Asked by At

I'm looking for a native OSX API to do the same as this unix command:

df -P /Volumes/samples
Filesystem                          512-blocks       Used   Available Capacity  Mounted on
//[email protected]/samples 17414365488 2684246752 14730118736    16%    /Volumes/samples

i.e. retrieve this path "//[email protected]/samples" or something similar for a given volume. I tried Disakarbitration but fail to find a key in there that carries that network path (the local path is there).

0

There are 0 best solutions below