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
-
I am guessing same as
ERROR_INVALID_FUNCTION
code 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.Build
call).CreateFile
succeeds, butReadFile
fails with this error according to procmon and theIOException
. Roughly, the code is:The funky thing is: during this time neither
CreateFile
norReadFile
breakpoints in my FS are hit.Now if I add a 15 seconds delay after mounting, the call succeeds, and my breakpoints in
CreateFile
andReadFile
also get hit.Procmon trace: IncorrectFunction.zip
Beta Was this translation helpful? Give feedback.
All reactions