Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
medovanx opened this issue Sep 8, 2023 · 2 comments
Labels
question Further information is requested

Comments

@medovanx
Copy link

medovanx commented Sep 8, 2023

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..

@Freaky
Copy link
Owner

Freaky commented Sep 9, 2023

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 Freaky added the question Further information is requested label Sep 9, 2023
@medovanx
Copy link
Author

medovanx commented Sep 9, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants