|
|
Anyway to create a variable size disk image?
|
|
|
|
Dedicated MacNNer
Join Date: Dec 2003
Status:
Offline
|
|
The title says it all, is there any way to do this?
|
15 inch MacBook Pro 2.16 GHz, 2 GB RAM, 7200 RPM 100GB HDD.
Dual 2.5 GHz Power Mac G5, 1 GB RAM, 250 GB HDD, ATI Radeon X800XT.
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Feb 2002
Location: USA
Status:
Offline
|
|
Applications > Utilities > Disk Utility > New Image > Format: sparse disk image
|
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Apr 2001
Location: Asheville, NC
Status:
Offline
|
|
There is no variable size file system format. You would have to do a sparse image and set it at a size that will definitely hold everything you want.
|
ACSA 10.4/10.3, ACTC 10.3, ACHDS 10.3
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: May 1999
Location: Seattle
Status:
Offline
|
|
Then what is the difference between a sparse image and a fixed size image?
|
1.25GHz PowerBook
i vostri seni sono spettacolari
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: Nov 2001
Location: Retired.
Status:
Offline
|
|
Originally posted by Boondoggle:
Then what is the difference between a sparse image and a fixed size image?
Taken from "Mac Help"...
"You can create a full disk image that uses the same amount of disk space as the disk it represents, or create a sparse disk image that includes only the data on the disk. For example, a 10MB disk may have only 5MB of data. A full disk image would be 10MB, while a sparse disk image would be 5MB."
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: May 1999
Location: Seattle
Status:
Offline
|
|
right, that sounds variable to me. You have a sparse image with 50MB of data and the img file is about 50MB. Delete half of the data and the sparse.img is about 25MB.
My question was in reference to Detrius' post. "there is no variable size..."
|
1.25GHz PowerBook
i vostri seni sono spettacolari
|
|
|
|
|
|
|
|
Junior Member
Join Date: Mar 2004
Status:
Offline
|
|
Originally posted by Boondoggle:
right, that sounds variable to me. You have a sparse image with 50MB of data and the img file is about 50MB. Delete half of the data and the sparse.img is about 25MB.
I believe that is not true. Deleting files from a sparse image does not shrink it. In your example it would stay at 50MB unless you compress it (which I believe can be done through the Disk Utility but I am not sure on the details).
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Originally posted by Boondoggle:
right, that sounds variable to me. You have a sparse image with 50MB of data and the img file is about 50MB. Delete half of the data and the sparse.img is about 25MB.
My question was in reference to Detrius' post. "there is no variable size..."
Detrius is still right. Even with a sparse image, you must set a maximum size that it can be, and while it can hold less data than this amount it cannot hold more.
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
|
|
|
|
|
|
|
Professional Poster
Join Date: Sep 2002
Location: New York, NY
Status:
Offline
|
|
The size of a sparse image file is about the same as the amount of data stored. It will grow to the maximum amount specified when created. However, it will not shrink as data is removed.
|
Vandelay Industries
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Originally posted by Art Vandelay:
The size of a sparse image file is about the same as the amount of data stored. It will grow to the maximum amount specified when created. However, it will not shrink as data is removed.
hdiutil compact image
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Apr 2001
Location: europe
Status:
Offline
|
|
FileVault can shrink sparseimages (reclaim wasted disk space), so there must be some way to do it. It's just not automatic.
|
Nasrudin sat on a river bank when someone shouted to him from the opposite side: "Hey! how do I get across?" "You are across!" Nasrudin shouted back.
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Mar 2000
Location: London, UK
Status:
Offline
|
|
Originally posted by Developer:
FileVault can shrink sparseimages (reclaim wasted disk space), so there must be some way to do it. It's just not automatic.
hdiutil compact image
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2000
Location: Canada
Status:
Offline
|
|
Originally posted by Developer:
FileVault can shrink sparseimages (reclaim wasted disk space), so there must be some way to do it. It's just not automatic.
You're right. There must be some way. If only someone would tell us.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2001
Status:
Offline
|
|
Originally posted by dtriska:
You're right. There must be some way. If only someone would tell us.
Are you ****ing serious? Angus just told you, TWICE.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2000
Location: Canada
Status:
Offline
|
|
Originally posted by CatOne:
Are you ****ing serious? Angus just told you, TWICE.
Man, some people are really dense.
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Aug 2002
Status:
Offline
|
|
When you use Disk Utility to create a SPARSE disk image, the size that you select is the Maximum size that the disk will expand to. If you select a 2 G size, the disk image is created very fast and is real small in physical size. If you mount it and open it, Finder reports the full size of 2 G as available.
So, when creating a sparse disk image, the size you specify is the maximum size that the drive will expand out to.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|