FROM : Vince DeMarco
DATE : Tue Jan 21 19:52:56 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
DATE : Tue Jan 21 19:52:56 2003
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_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
| Related mails | Author | Date |
|---|---|---|
| Kevin Elliott | Jan 21, 19:19 | |
| Christian Longshor… | Jan 21, 19:41 | |
| Kevin Elliott | Jan 21, 19:49 | |
| Vince DeMarco | Jan 21, 19:52 | |
| Vince DeMarco | Jan 22, 05:24 |






Cocoa mail archive

