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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to