• 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: Disk Image Volumes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Disk Image Volumes


  • Subject: Re: Disk Image Volumes
  • From: Lorenzo <email@hidden>
  • Date: Mon, 05 May 2003 21:09:14 +0200

Hi Finlay,
hdiutil info -plist
worked fine!

Only I had to use the output
NSFileHandle *theFileH = [NSFileHandle
fileHandleForWritingAtPath:@"/thefile.plist"];
[task setStandardOutput:theFileH];

because the data returned by hdiutil through a pipe was truncated to 4096
characters. Also, I found that the mount-point is the object at the index 7
of an array. I hope the dictionary structure doesn't change.

Thank you so much.

Best Regards
--
Lorenzo
email: email@hidden

> From: Finlay Dobbie <email@hidden>
> Date: Mon, 5 May 2003 17:33:21 +0100
> To: Andreas Schempp <email@hidden>
> Cc: Lorenzo <email@hidden>, <email@hidden>
> Subject: Re: Disk Image Volumes
>
>
> On Monday, May 5, 2003, at 05:17 pm, Andreas Schempp wrote:
>
>> Try to use [[NSWorkspace sharedWorkspace] mountedRemovableMedia]
>>
>> this returns an array, containg all removeable media.
>
> Doesn't tell you if it's a disk image.
>
> Your best bet will probably be to use the output of "hdiutil info
> -plist".
>
> -- Finlay
_______________________________________________
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.

References: 
 >Re: Disk Image Volumes (From: Finlay Dobbie <email@hidden>)

  • Prev by Date: Re: clicking in NSMatrix.
  • Next by Date: Re: Can't modify existing user interface
  • Previous by thread: Re: Disk Image Volumes
  • Next by thread: NSUserKeyEquivalent not working?
  • Index(es):
    • Date
    • Thread