• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Grabing Disk Information
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: Grabing Disk Information
      • From: Jay Vaughan <email@hidden>
References: 
 >Grabing Disk Information (From: "Matthew Jaffa" <email@hidden>)

  • Prev by Date: Re: Panel items failing to draw
  • Next by Date: Re: Enable Objective-C exception handling. [-fobjc-exceptions] causes additional warnings on pointers?
  • Previous by thread: Re: Grabing Disk Information
  • Next by thread: Re: Grabing Disk Information
  • Index(es):
    • Date
    • Thread