Re: Segmented disk image
Re: Segmented disk image
- Subject: Re: Segmented disk image
- From: James Sentman <email@hidden>
- Date: Mon, 20 May 2002 15:03:34 -0400
Does anyone know the script to make a segmented disk image from a hard
drive. I am looking for a way to create an image from a hard drive that is
about 1.5 GB, and hoping to burn it to CDs, for image restoring purpose.
Hi,
I don't know about a script, but the hdiutil program on the command
line can segment an image.
The syntax for segment would be:
hdiutil segment /path/to/big/image.dmg -o /path/to/results/seg_big
-segmentSize 1331200
This will create 650 meg segments from the original image.dmg file.
The size is in sectors, which should be 512 byte sectors so the math
goes (650 * 1024 * 1024) / 512 so you can make ones of any size you
like. The last one will be smaller as necessary.
The only problem with this is that if you're backing up a 1.5 gig
image, you'll need to have 3 gig free on whatever drive you're doing
the backup from so that you can hold the original image and it's
segments.
Once you have the images you should be able to burn them with the
regular "Burn Image" command in disk utility.
I ran a little test here where I segmented a small image and then
mounted it. The mounting software seems to have found the various
segments as long as they were all in the same directory and mounted
the full image. If you burn them all off to separate CD's I don't
know if it's smart enough to ask you to insert more disks as it needs
them, or if you would need to copy all the disks onto the HD and then
mount them from there. I would recommend you experiment with that
before you count on having a backup that way.
Oh, and let me and the list know what else you find out!
Thanks,
James
--
_____________________________________________________________________________
James Sentman <email@hidden>
http://www.sentman.com
Enterprise server monitoring for Mac OS X:
http://whistleblower.sentman.com
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.