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

A2CLOUD: have ADTPro notice changes to disk image #19

Closed
IvanExpert opened this issue Oct 25, 2015 · 2 comments
Closed

A2CLOUD: have ADTPro notice changes to disk image #19

IvanExpert opened this issue Oct 25, 2015 · 2 comments
Labels

Comments

@IvanExpert
Copy link
Contributor

For speed, ADTPro now loads the disk image of a virtual disk into RAM rather than access the disk file each time out, and then flushes on writes (or might even do live writes as it used to do live reads). This causes issues if the disk image is modified outside of ADTPro. ADTPro should have a way of recognizing changes to the disk image it has in RAM. This is really an ADTPro issue, and has been submitted there:
http://sourceforge.net/p/adtpro/feature-requests/10/

@knghtbrd
Copy link
Member

It's really hard to do this in Java. If we ever were to replace the ADTPro server with something Linux-specific (at least when built for Linux) this is easily done. But the best thing you can do in Java generally is to reread the whole file periodically to look for differences or keep reading the directory to see if the file's mod time changes. That's a pain in the butt for sure!

@knghtbrd
Copy link
Member

This issue was moved to RasppleII/a2cloud#11

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

No branches or pull requests

2 participants