Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Determining file system host



At 21:20 -0800 3/11/09, Jens Alfke wrote:
On 03 Nov 2009, at 15:18, Rolf Howarth wrote:

If I have a network file system (SMB, NFS, AFP etc.) mounted is there any way to determine the IP address of the server from a mount point such as /Volumes/MyShare?

I'm pretty certain this has been discussed on the macnetworkprog list Š might want to check the archives there.

Ok thanks, got it. The function is FSGetVolumeMountInfo and Apple have some example code called FSMegaInfo that shows how to use it.


-Rolf
--
Rolf Howarth
Square Box Systems Ltd
Stratford-upon-Avon, UK.
http://www.squarebox.co.uk
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-userlevel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-userlevel/email@hidden

This email sent to email@hidden
References: 
 >Determining file system host (From: Rolf Howarth <email@hidden>)
 >Re: Determining file system host (From: Jonas Maebe <email@hidden>)
 >Re: Determining file system host (From: Jens Alfke <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.