Skip to content

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

Open

Description

@medovanx

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

Activity

  1. Freaky commented on Sep 9, 2023

    @Freaky
    Owner

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

  2. medovanx commented on Sep 9, 2023

    @medovanx
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions