Re: Volume info in Cocoa
Re: Volume info in Cocoa
- Subject: Re: Volume info in Cocoa
- From: Vince DeMarco <email@hidden>
- Date: Tue, 21 Jan 2003 10:52:56 -0800
On Tuesday, January 21, 2003, at 10:19 AM, Kevin Elliott wrote:
Greetings all,
I've got a cocoa app that needs to get information about mounted
volumes. Stuff like- what kind of filesystem is on the volume, how
big is the partition, how much space is used, etc. I know that most
of that information is accessible through Carbon, but I'd prefer to
use a Cocoa/BSD based solution if possible.
Does anybody know what function/method will get me the information I
need?
look at statfs()
man 2 statfs
the Carbon calls down to statfs() to do it stuff too.
vince
_______________________________________________
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.