mihaip / infinite-mac

A classic Mac loaded with everything you'd want
https://infinitemac.org
Apache License 2.0
1.12k stars 67 forks source link

Am I seeing somebody else's requested disk image? #223

Open that-ben opened 9 months ago

that-ben commented 9 months ago

I dragged a 6GB HFS+ disk image named D2 and MacOS9.app froze so after a few minutes, I closed the tab, opened a new one and requested MacOS9.app and to my surprise, I had my D2 disk image mounted AND a completely unknown, never requested Power Computing disk image!

I have no idea why this mounted or where this comes from. The console also had this error, which I don't know if it's related or not:

Lazy file from URL blob:https://infinitemac.org/b90ca1d2-96ae-412e-9b29-5070e75ca468 was expected to have size 6442426368 but instead had 4261412864

Am I seeing somebody else's requested disk image?

dasdas

mihaip commented 9 months ago

That's the "Power Computing: The Disc II" compilation CD (from the library). Had you tried mounting it at some point?

that-ben commented 9 months ago

I don't recall ever requesting this particular disk, no. If I ever have, it must have been a very long time ago or perhaps I misclicked it months ago? Certainly not this week though!

mihaip commented 9 months ago

Can you get this to happen again? Otherwise there might not be much that I can do here.

FWW images that are dragged in are still loaded into RAM (I have not switched that codepath over to disk streaming), and I'm somewhat surprised that a 6GB one works at all.

that-ben commented 9 months ago

I was actually wondering how that worked and thought that perhaps it was streaming the file like it does when you request it via network using the GET parameter. If it tries to load it all in RAM, perhaps that's what caused this weird glitch?