Re: Network volume
Re: Network volume
- Subject: Re: Network volume
- From: Ben Trumbull <email@hidden>
- Date: Tue, 23 Dec 2008 20:21:43 -0800
On 2008 Dec, 23, at 14:02, Nor wrote:
But I don't know which volumes were networks'.
if (0 == statfs(fileName, &stats_buf)) {
localFS = ((stats_buf.f_flags & MNT_LOCAL) == MNT_LOCAL);
statfs will also tell you if the volume is the root volume.
- Ben
_______________________________________________
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