Compactor icon indicating copy to clipboard operation
Compactor copied to clipboard

What would happen if I uncompress after adding extra files that exceeds the actual disk size?

Open medovanx opened this issue 2 years ago • 2 comments

First off thanks for this great software with the GUI, I have a question tho, say I have a 256 HDD hard disk, I only have 5 GB left, I used compactor and let's say now I have 15 GB, so it saved me 10 GB, what would happen if I install anything that's 10 GB (using the free space compactor saved me) then I uncompress the other files so now it would be 10+10 = 20 GB, and I only had 5 GB left, just a scenario..

medovanx avatar Sep 08 '23 22:09 medovanx

That's a good question. Obviously it'll fail, but I'm not sure precisely how - the ideal case would be failing to even start because it can't allocate the space it needs, the less-than-ideal case would be to fill up the disk and error out, and the even less than ideal case would be to fail and not clean up properly.

In either case that's on the routines Microsoft wrote in the driver more than me - you can trigger a decompression just by opening a file in the right mode, no Compactor or compact.exe needed - so it better be pretty robust!

I might dig out a small disk and try it...

Freaky avatar Sep 09 '23 02:09 Freaky

That's a good question. Obviously it'll fail, but I'm not sure precisely how - the ideal case would be failing to even start because it can't allocate the space it needs, the less-than-ideal case would be to fill up the disk and error out, and the even less than ideal case would be to fail and not clean up properly.

In either case that's on the routines Microsoft wrote in the driver more than me - you can trigger a decompression just by opening a file in the right mode, no Compactor or compact.exe needed - so it better be pretty robust!

I might dig out a small disk and try it...

Waiting to see the test result, if you ever try it out!

medovanx avatar Sep 09 '23 02:09 medovanx