Re: Connect to server - list of shared volumes
Re: Connect to server - list of shared volumes
- Subject: Re: Connect to server - list of shared volumes
- From: Dragan Milić <email@hidden>
- Date: Wed, 26 Oct 2011 23:07:48 +0200
On pet 21.10.2011., at 15.41, Dragan Milić wrote:
> Hello,
>
> This may not be strictly related to Cocoa, but I'm willing to use any API that can serve the purpose and perhaps something like that exists in Cocoa, I just don't know of it.
>
> So, I want to mount shared volume(s) that reside on the same server. I use FSMountServerVolumeAsync() function, supplying it the URL of the server, as one of arguments. As I understand, this function loads and runs the appropriate URLMount plug-in, which structure is private. If there are move mountable volumes connected to the server, this plug-in automatically presents a modal panel with the list of all available servers and allows user to choose which one to connect to.
>
> I want to skip this "magic" provided by the API and to create this list of available mountable volumes myself (e.g. I may choose to exclude some from the list or do something else). Is there a public way to retrieve a list of mountable volumes connected to the server, which full URL is known? If not, I'll be also satisfied if I can do it in undocumented way, using any private API.
Any hints anyone?
-- Dragan_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden