-
Notifications
You must be signed in to change notification settings - Fork 10
device gets mounted only every second time on Raspberry Pi #9
Comments
@gotiniens I'm curios, while playing around with the |
Not really because especially during testing I made sure I unmounted the device every time to ensure consistent results. I did forget once and indeed it did not mount the device properly. I'm not sure about MTP devices, but for block devices it is better to unmount them before removing. Not unmounting could cause file-system corruption in certain situations. Maybe automatically unmount the device when the fit files are copied? |
@fgebhart I see you are working on an refactor of the mount system in the |
Great, that you have an eye on things 😉 Although the changes on that branch are still premature and not fully tested yet, the main intend of the refactoring was to solve this bug. However, I'm not 100% sure yet, whether the bug is caused by not properly unmounting. If this turns out to be the case, then unmounting after collecting the fit files should be the way forward. Once the refactoring is ready to be merged, you might want to give it a try with your device. I will let you know once I reach that point. |
It seems that there is no proper unmounting in place which causes this issue.
The text was updated successfully, but these errors were encountered: