6gb Image into 5kb file?
Moderators: Cat_7, Ronald P. Regensburg
-
- Student Driver
- Posts: 18
- Joined: Mon Jul 05, 2004 2:03 am
6gb Image into 5kb file?
Some of you might this this is a very stupid question but I am very curious.... How on earth do you get a 6gb Hard Drive Image compressed into a 5kb zip file?
-
- Student Driver
- Posts: 18
- Joined: Mon Jul 05, 2004 2:03 am
-
- Student Driver
- Posts: 18
- Joined: Mon Jul 05, 2004 2:03 am
Thanks very much... thats exactly what I was wondering.
I didn't want to have to reinstall os x on my desktop so I was wondering if I could compress my hard drive to fit on to a cd-r.
No big deal, I just networked the two and copied it over. I now have two computers fully functioning w/ PearPC 2.0 and Panther 10.3.2
I didn't want to have to reinstall os x on my desktop so I was wondering if I could compress my hard drive to fit on to a cd-r.
No big deal, I just networked the two and copied it over. I now have two computers fully functioning w/ PearPC 2.0 and Panther 10.3.2
- PPC_Digger
- Forum All-Star
- Posts: 1050
- Joined: Thu Jul 22, 2004 9:02 am
- Location: Israel
I've seen that hard drive images in Virtual PC 6 (.vpc6) only take up as much space as is used, and can grow until it's actually the size of the real hard drive. Anyone know how they do this?
PS. When running Windows thru VirtualPC the free space on the virtual hard drive is the same free space on the actual hard drive.
PS. When running Windows thru VirtualPC the free space on the virtual hard drive is the same free space on the actual hard drive.
Re: 6gb Image into 5kb file?
it's just like remebering something of nothing. nothing too much to remember!scriptkiddie wrote:Some of you might this this is a very stupid question but I am very curious.... How on earth do you get a 6gb Hard Drive Image compressed into a 5kb zip file?
- PPC_Digger
- Forum All-Star
- Posts: 1050
- Joined: Thu Jul 22, 2004 9:02 am
- Location: Israel
Virtual PC simply 'knows' when the virtual machine writes to the virtual hard drive, so it begins with a very small file, and writes to it only when needed. If I am not mistaken, such files are called sparse files.willhart wrote:I've seen that hard drive images in Virtual PC 6 (.vpc6) only take up as much space as is used, and can grow until it's actually the size of the real hard drive. Anyone know how they do this?
PS. When running Windows thru VirtualPC the free space on the virtual hard drive is the same free space on the actual hard drive.
Close but no cigar.PPC_Digger wrote:Virtual PC simply 'knows' when the virtual machine writes to the virtual hard drive, so it begins with a very small file, and writes to it only when needed. If I am not mistaken, such files are called sparse files.willhart wrote:I've seen that hard drive images in Virtual PC 6 (.vpc6) only take up as much space as is used, and can grow until it's actually the size of the real hard drive. Anyone know how they do this?
PS. When running Windows thru VirtualPC the free space on the virtual hard drive is the same free space on the actual hard drive.
Sparse files are files that have a defined size (say 6gb), however, they contain the same data, over and over again. So, the filesystem (usually something journaled, like HFS+J or ReiserFS/Ext3/JFS/XFS) transparently makes the file look like it's only the size of the non-sparse data on it.
There is, amazingly, a whole field of research dedicated to this.
And what are the chances of having this incorporated in to PearPC? So far, making a 10gb PearPC imageand having Windows automatically compress it seems the closest that I can get to that.phirkel wrote:Close but no cigar.PPC_Digger wrote:Virtual PC simply 'knows' when the virtual machine writes to the virtual hard drive, so it begins with a very small file, and writes to it only when needed. If I am not mistaken, such files are called sparse files.willhart wrote:I've seen that hard drive images in Virtual PC 6 (.vpc6) only take up as much space as is used, and can grow until it's actually the size of the real hard drive. Anyone know how they do this?
PS. When running Windows thru VirtualPC the free space on the virtual hard drive is the same free space on the actual hard drive.
Sparse files are files that have a defined size (say 6gb), however, they contain the same data, over and over again. So, the filesystem (usually something journaled, like HFS+J or ReiserFS/Ext3/JFS/XFS) transparently makes the file look like it's only the size of the non-sparse data on it.
There is, amazingly, a whole field of research dedicated to this.
- PPC_Digger
- Forum All-Star
- Posts: 1050
- Joined: Thu Jul 22, 2004 9:02 am
- Location: Israel
May be make a bzip2 or gzip image that will automatically be written/read when it is needed?willhart wrote:And what are the chances of having this incorporated in to PearPC? So far, making a 10gb PearPC imageand having Windows automatically compress it seems the closest that I can get to that.phirkel wrote:Close but no cigar.PPC_Digger wrote: Virtual PC simply 'knows' when the virtual machine writes to the virtual hard drive, so it begins with a very small file, and writes to it only when needed. If I am not mistaken, such files are called sparse files.
Sparse files are files that have a defined size (say 6gb), however, they contain the same data, over and over again. So, the filesystem (usually something journaled, like HFS+J or ReiserFS/Ext3/JFS/XFS) transparently makes the file look like it's only the size of the non-sparse data on it.
There is, amazingly, a whole field of research dedicated to this.
willhart wrote:And what are the chances of having this incorporated in to PearPC? So far, making a 10gb PearPC imageand having Windows automatically compress it seems the closest that I can get to that.phirkel wrote:Close but no cigar.PPC_Digger wrote: Virtual PC simply 'knows' when the virtual machine writes to the virtual hard drive, so it begins with a very small file, and writes to it only when needed. If I am not mistaken, such files are called sparse files.
Sparse files are files that have a defined size (say 6gb), however, they contain the same data, over and over again. So, the filesystem (usually something journaled, like HFS+J or ReiserFS/Ext3/JFS/XFS) transparently makes the file look like it's only the size of the non-sparse data on it.
There is, amazingly, a whole field of research dedicated to this.
Gah, reread my post please. The host filesystem, be it NTFS (to a lesser extent, if I recall correctly), ReiserFS, etc... will always make the file use less space that it is slated to use. It has nothing to do with PearPC and everything to do with the host filesystem.