Re: Volume info in Cocoa
Re: Volume info in Cocoa
- Subject: Re: Volume info in Cocoa
- From: Kevin Elliott <email@hidden>
- Date: Tue, 21 Jan 2003 10:49:25 -0800
At 10:41 -0800 on 1/21/03, Christian Longshore Claiborn wrote:
How does NSWorkspace's - (NSArray *)mountedLocalVolumePaths work for you?
NSWorkspace is a great grab-bag full of useful info. I use
CocoaBrowser
(
http://homepage2.nifty.com/hoshi-takanori/cocoa-browser/) for quick
references like this.
Christian
Yeah, I'm already using it. The problem is that I need more info on
a given volume.
I thought
"getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:"
Might work for part of it, but I get null returns on all the string
arguments. Moreover, I need inforamtion about drive capacity, etc.
that it does not supply. I've also tried NSFileManagers
"fileAttributesAtPath:traverseLink:" but it returns the directory
size, no the size of all the data contained in the directory, which
is clearly not what I'm interested it.
Anybody else got any ideas?
--
__________________________________________
Kevin Elliott <
mailto:email@hidden>
ICQ#23758827 AIM ID: teargo
__________________________________________
_______________________________________________
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.