I started using Kodi recently with LibreELEC on a Pi 1 Model B. I quickly switched to OSMC because I can install whatever I need and have greater flexibility.
So I am now running OSMC on the same hardware and with the same USB keys. With LibreELEC they always auto-mounted on boot up and a Samba share was created for them with a name equal to the usb drives label. However under OSMC they almost never auto-mount on boot up. I created a thread about this already and have read extensively about the issue on these support forums.
I know that the OSMC team have planned and discussed for at least five years now switching the auto mounting approach from udisks/udisks-glue to udevil/devmon. I also read bits alluding to issues that still need to be ironed out.
I would love to know exactly what the issue is, what is being done, how close is a solution. Could I help? I don’t want to hear the words… “It’s a power issue” and be told the solution is to buy a powered hub so I can spend more money on something I shouldn’t need to buy that draws more electricity that shouldn’t have to be wasted.
It seems the issue might be that under OSMC usb drives take longer to spin-up at system boot. Maybe they aren’t spinning fast enough when udisks-glue service runs to see are there any drives that need to be mounted? There is a workaround I am using for now, suggested on these forums, in which I added a sleep 10 to the udisks-glue service. Now the same usb keys are always mounted on boot. It adds 4 seconds to the boot up time which I can live with. At the least I think this is the workaround that should be recommended to people instead of buying more hardware un-necessarily.
How come my usb keys plugged into the same Pi 1 are auto-mounted under LibreELEC but not OSMC? Does OSMC draw more power at boot up than LE and this diverts power away from the USB drives so they aren’t spinning fast enough for udisks-glue?
Over at LibreELEC I asked them to explain how they do auto-mounting. They responded with helpful information about how they use udev rules and udevil. Could the OSMC team just implement this approach? Maybe the task is a lot more complicated under OSMC for various reasons. That would be understandable. But really I think it’s time to prioritize a bullet proof auto-mounting solution for OSMC.
I would glady try and set up the LibreELEC approach on my OSMC installation and feedback but I might need some help.