You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, we try to sync a directory, windows fails with "invalid argument" (windows doesn't support syncing directories) and vbox forwards this error.
We actually have a check to avoid syncing directories on windows. Unfortunately... in this case, we think we're on Linux. I believe the correct fix is to detect that the error is an "invalid argument" error and ignore it (we can't sync anyways, nothing really failed).
Edit: It turns out that vboxsf just doesn't support fsync on directories at all. Really, we probably should just be ignoring fsync errors on directories entirely (possibly logging them?). There's not much we can do anyways.
The text was updated successfully, but these errors were encountered:
Stebalien
changed the title
Doesn't work when with virtualbox volumes (at last when used by docker) on Windows
Doesn't work when with virtualbox shared volumes
Feb 17, 2018
Basically, we try to sync a directory, windows fails with "invalid argument"
(windows doesn't support syncing directories) and vbox forwards this error.We actually have a check to avoid syncing directories on windows. Unfortunately... in this case, we think we're on Linux. I believe the correct fix is to detect that the error is an "invalid argument" error and ignore it (we can't sync anyways, nothing really failed).Edit: It turns out that vboxsf just doesn't support fsync on directories at all. Really, we probably should just be ignoring fsync errors on directories entirely (possibly logging them?). There's not much we can do anyways.
The text was updated successfully, but these errors were encountered: