Replies: 2 comments 3 replies
-
|
UPD.: While failures occur, there are no logs from |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
You need to wait until the drive is ready. I usually do that in a loop similar to this: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am guessing same as
ERROR_INVALID_FUNCTIONcode 1 Windows System Error. Shows as "INVALID DEVICE REQUEST" in procmon.This does not happen on Mirror (at least not with trivial repro steps), but does happen on my overlay FS that combines another read-only FS with a regular directory where any writes go.
I try to read a file immediately after mounting the FS (
DokanInstanceBuilder.Buildcall).CreateFilesucceeds, butReadFilefails with this error according to procmon and theIOException. Roughly, the code is:The funky thing is: during this time neither
CreateFilenorReadFilebreakpoints in my FS are hit.Now if I add a 15 seconds delay after mounting, the call succeeds, and my breakpoints in
CreateFileandReadFilealso get hit.Procmon trace: IncorrectFunction.zip
Beta Was this translation helpful? Give feedback.
All reactions