Re: determining if a volume is local or remote
Re: determining if a volume is local or remote
- Subject: Re: determining if a volume is local or remote
- From: Stephane Sudre <email@hidden>
- Date: Fri, 9 Jan 2009 17:48:29 -0800
On Jan 9, 2009, at 12:33 PM, John Michael Zorko wrote:
Hello, all ...
I suspect that there is a way to programmatically determine using
POSIX APIs whether a volume is local to the machine or a mount of a
remote disk. Can anyone illuminate me as to how, and will the same
code work under Linux?
You can find this information for files so you can probably use it
for the mountpoint. It's in one of the structures returned by the
stat APIs.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden