Software-controlled virtual disk

How can I create a virtual disk with which I can programmatically and dynamically change content?

For example, program A starts up and creates a virtual disk. When program B looks into the drive, it sees the error log and starts reading / processing. In the middle of this whole program, A gets a signal from somewhere and decides to add it to the log. I want program B to be unaware of the changes and keep going. Program B should continue reading as if nothing had happened. Program A will simply report the extremely large file size for the log and then populate it accordingly. Program A would fill the log with tags if program B tried to read the past entry.

I know this is a strange request, but there is really no other way to do it ... I basically cannot rewrite program B, so I need to trick it.

How do I do this on Windows? How about OSX?

0


source to share


1 answer


Found your question poorly formulated. For the first question, I would recommend using disk images, but this is Mac only. I have no experience but FUSE can work because it needs to be cross platform. In the second question, I really don't know if this is possible.



+1


source







All Articles