Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 9122

Advanced users • Re: Help understanding g_mass_storage for an industrial control use case.

$
0
0
Understood and I don't expect anyone to respond out of any sort of paid obligation, but this is adjacent to me being paid to work on this. I am the guy that has Rapberry Pis at home and talks about my own Linux engineering and a guy who I work with incidentally said he had bought a pi to solve a problem and couldn't figure it out and asked me if I had any thoughts on it. The one I have done development on is my own personal pi that I brought from home. This project is nothing that I am expected to do as part of my role and was more akin to helping a friend. If my post made it seem like other users were obligated to respond or that labor was intended that is not my intent, and it had not been made clear to me from my previous posts on this forum that asking a question would be interpreted as requesting free unpaid labor.

With no expectation of any specific answers from any specific people, I still have questions even after reading the manual. I understand that caches cannot be kept in sync, and any host cache on a device with a limited UI cant be controlled, however some event happens to cause the caches to resolve as experienced when the device reboots which is closer to yanking a thumb stick over safely removing. When I reboot the pi, suddenly the files show up on the share, and some other random events I haven't been able to understand have also caused it to resolve. The experience is "randomly sometimes the files show up in the share" and I am hoping to demystify that. I am guessing some intermittent pausing of samba, unmounting the bin file, removing the kernel module, re-enabling the kernel module, remounting the bin, and turning samba on might do it, but that seems like a lot of effort and it feels like there should be a way to simulate a drive yank from the kernel side.

Statistics: Posted by surfrock66 — Fri Oct 03, 2025 2:27 am



Viewing all articles
Browse latest Browse all 9122

Trending Articles