[Interest] Getting the list of mounted network volumes

Stephen Chu stephen at ju-ju.com
Fri Aug 31 01:15:37 CEST 2012

On 8/30/12 3:38 PM, Till Oliver Knoll wrote:
> Am 30.08.2012 um 19:44 schrieb Stephen Chu <stephen at ju-ju.com>:
>> ...
>> I guess I will have to do platform specific code for this.
> On Mac I *think* everything under /Volumes can be considered mounted (not sure about network/NFS mounted drives though).
> But I'm sure there's a more reliable API to query that.

/Volumes/* list all mounted volumes but that includes all of them, local 
and network ones. I used to use PBGetVolMountInfo to find the media type 
but it may have been obsolete.

I have no idea how to do it on Windows. Any pointer to how can I find 
the UNC path from a drive letter?

More information about the Interest mailing list