When I issue the mount
command, I get entries like the following:
//abc@host/b1 on /Volumes/b1 (smbfs, nodev, nosuid, mounted by abc)
//abc@host/b2 on /Volumes/b2 (smbfs, nodev, nosuid, mounted by abc)
These indicate that I have two samba shares mounted.
I'd rather not try to parse mount
command outputs, but I do want to retrieve the mount points of of attached filesystems, especially from samba.
Is there a API on the Mac that allows me to do this, either in C, or shell, or Python, etc. ?