Posted 13 December 2021 - 12:44 AM
I'd rather extend the number of log levels to 3 intead of introducing a second logfile. All right, I will make the change that the default fist logging level will output only the mounting information and the possible problems (warnings) it faces, the second log level will output the mount-time virtual file operations such as the overwrites, and the third level will also output the load- and runtime file operations such as reads and writes.
"Sticking" a file is actually a valid file operation, that could be supported in the virtual file system. It is similar to the windows read-only attribute on a file. When you set it, the file cannot be ovewritten. (At least not without a warning.) However reading into the files at mount-time would slow down the operation by an order of magnitude, so I could rather imagine this as properly utilizing the individual files read-only attribute inside the zip. When a file is set read-only, subsequent zips would be prevented to "overwrite" this file. But in this case an opposite operation needed to be defined, that does delete this read-only flag in a subsequent zip, to allow the original author to amend his own file. For example, I set a file to read-only in my coolpackage_v1.0.zip, and I would yet like to overwrite it in coolpackage_v1.1.zip, so I need to delete this read-only flag. How to do that without modifying the v1.0 package, any ideas?
All in all, I would outrule anything that involves reading into the files generally at mount-time, so all we have, to work with, is the filename and the flag. But I am not outruling to read into exactly one file per zip, which file could contain some metadata about the package. But at this time I don't know what would be the best dataset and format to use. This leads us to the swampy soil of defining the OR package format, that can properly handle the OR file formats, which don't yet exist.