Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Mounting disk images, DiskImages.framework, hdid, hdiutil...

Mounting disk images, DiskImages.framework, hdid, hdiutil...
Thread Tools
Fresh-Faced Recruit
Join Date: Jun 1999
Location: Belo Horizonte, MG, Brazil
Status: Offline
Reply With Quote
Oct 12, 2001, 08:05 PM
 
I'd like to learn how to mount a file as a r/w volume, much like what DisckCopy does with its ".dmg" files.

I have implemented my custom read, write and seek function calls, but I don't know where to put them.

I've already created an app (ZeeProxy) capable of reading from and writing to my (opensource) "disk image" format, called RAZip (*), but I'd like to make it available system-wide.

Shuld I write a kext, or user-space is good enough for the task?
Oh, where can I find the headers for DiskImages.framework? (They don't show up in PB's files tab). And where can I get "hdid" and "hdiutil" source code ?

Thanks a lot for any help!

(*) RAZip is in fact a bitstream format used to store losslessly compressed data, providing excellent random-access read rates, and good random write rates in the near future too. I created RAZip because random read rates from a GZIP-compressed data stream are disappointingly low. Besides, RAZip can store a lot of useful meta-data.For more details, see :
http://www.geocities.com/elifarley/javalibs/index.html
     
Fresh-Faced Recruit
Join Date: Jun 1999
Location: Belo Horizonte, MG, Brazil
Status: Offline
Reply With Quote
Oct 14, 2001, 08:55 AM
 
Someone replied to my post, but it got lost after the attack last night, and I haven't had the chance to read it. Could the poster repost, please?

Thanks.

P.S.: I'd like to be able to mount the image files under MacOS X and under vanilla Darwin as well, so I'd like to rely on as little non-open-source code as possible.
     
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status: Offline
Reply With Quote
Oct 14, 2001, 02:38 PM
 
It was me, but I've also replied to your e-mail to one of the developer lists I'm subscribed to. I"m not going to re-type it for the third time.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 01:22 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2