Re: cocoa API to get List of hard disk Partitions
Re: cocoa API to get List of hard disk Partitions
- Subject: Re: cocoa API to get List of hard disk Partitions
- From: Kiel Gillard <email@hidden>
- Date: Thu, 18 Feb 2010 21:23:33 +1100
On 18/02/2010, at 8:44 PM, Arjun SM wrote:
> Hi,
>
> Can any one help me out on How I can get the List of all hard disk
> partions mounted on the the System along with the Icon, just like Disk
> Utility application does. (Image below.)
>
>
> [image:
> ?ui=2&view=att&th=126df98c109f6b52&attid=0.1&disp=attd&realattid=ii_126df98c109f6b52&zw]
>
>
> I have used the NSWorkspace : iconForFile:path, by passing the "/" for the
> Path and this would return an image of the boot partions only.
>
See this sample code from Apple <http://developer.apple.com/mac/library/samplecode/SourceView/index.htm>
HTH,
Kiel
> thanks,
> ~Arjun
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden