How to use NSWorkspace's getFileSystemInfoForPath?
How to use NSWorkspace's getFileSystemInfoForPath?
- Subject: How to use NSWorkspace's getFileSystemInfoForPath?
- From: Yuhui <email@hidden>
- Date: Sun, 15 Sep 2002 22:49:10 -0500
Hi,
I'm quite new to Cocoa programming, so please excuse me if this sounds
trivial.
I'm designing an app that handles removable volumes and need an easy
way to figure out what kind of volume each one is, e.g. CD, DVD, etc. I
came across this function -
getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:descriptio
n:type: in NSWorkspace, but I'm not too sure how to use it. Can anyone
provide any hints please? Sample code would be great too.
BTW I searched the Cocoa archives for "getfilesysteminfo" and
"getfilesysteminfoforpath" but it returned nil, so I guess this has
never been asked before.
Thanks!
Yuhui
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.