OSFMount seem to not react to sudden inability to read from the disk image file as expected. Actually, it looks like it is not reacting anyhow.
Consider the following experiment:
Of course, this is just an experiment. A more realistic use case is related to network-shared disk images.
Thus:
OSFMount v3.1 (1000) on my Windows 10 x64 v1803.
Consider the following experiment:
- Use Windows Disk Management to create a test 100 MB "P.vhd" file (fixed size, MBR, single partition, NTFS-formatted). Put few files on it.
- Use Windows Disk Management to create a test 200 MB "Q.vhd" file (fixed size, MBR, single partition, NTFS-formatted). Mount it as "Q:" with Disk Management. Move "P.vhd" to "Q:".
- Mount "Q:\P.vhd" as "P:" with OSFMount (not-as-RAM-drive, not-as-removable-media, Read-only, Emulation=Logical)
- Set "Q:" to offline (with Disk Management).
- Try read some file from "P:". Some files might be cached and they might work like normal. However, eventually, you should run into a "Read error" (as expected).
- Note that OSFMount window does not highlight the issue anyhow. No error messages or something. This is somewhat misleading.
- Set "Q:" back to online (with Disk Management).
- Try read same files from "P:". The files that were cached might still work. However, the files that produced a "Read error" before still produce "Read error". Although now everything seem to be OK and thus this behavior is misleading.
- In OSFMount try "File->exit" and re-start it. The issue is still present.
- Dismount "P:" and mount it again. The issue is gone.
- The mounted "*.img" files seem to behave the same.
Of course, this is just an experiment. A more realistic use case is related to network-shared disk images.
Thus:
- It would be very nice if OSFMount would be able to automatically reopen the disk image file when it is available again.
- If it's difficult to automate this, maybe it would be possible to provide a single-click "remount" button, at least.
- It would be very nice if OSFMount would highlight "unable to read from image" condition somehow (e.g. additional column with "Status"?)
- Ideally, a "Total number of 'image file was reopened' since mounted" column would be nice too.
OSFMount v3.1 (1000) on my Windows 10 x64 v1803.
Comment