Re: Grabing Disk Information
Re: Grabing Disk Information
- Subject: Re: Grabing Disk Information
- From: Kazutaka "Zak" Sawa <email@hidden>
- Date: Thu, 29 Apr 2004 07:11:14 +0900
Hi
If you want to know which drive has what volume, I believe you should
access IORegistry like this.
http://developer.apple.com/samplecode/CDROMSample/listing1.html
Zak
>
Hi,
>
>
I was wondering the way to grab all the Hard Drives infos.
>
>
Like in Disk Utility, How do they obtain the different Hard Drives that are
>
on the system.
>
>
I know they begin with /dev/disk#
>
>
and then if the disk is partitioned they have /dev/disk#s#
>
>
I am creating an NSOutline View that I am going to populate with this stuff
>
just like in Disk Utility, So I need to be able to get the list of Drives,
>
and also get information about them, like Disk Utility presents : size,
>
Mount point, etc.
>
>
>
Is there some Objective-C api that does this, or CoreFoundation?
>
>
Thanks,
>
Matt
>
>
_________________________________________________________________
>
Lose those love handles! MSN Fitness shows you two moves to slim your waist.
>
http://fitness.msn.com/articles/feeds/article.aspx?dept=exercise&
>
article=et_pv_030104_lovehandles
>
_______________________________________________
>
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.
--
## from Kazutaka 'Zak' Sawa (ZakLab) ##
## e-Mail:
mailto:email@hidden ##
##
http://homepage1.nifty.com/~zaklab/ ##
## ##
## すべてのメールはバカ者によって盗聴されている可能性があります ##
_______________________________________________
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.