2016-02-07, 18:36
I am running KODI 15 under Raspbian. As I also would like to run Sambo on the same Pi, I face some difficulties as KODI "grabs" the external HD-Drive (connected via USB 2.0) before Samba can get it.
So I would like to prevent KODI from doing the auto-mount of the drive at startup. I had some check of the kodi script in /etc/init.d but could not find the place where to intervene:
After start, KODI mounts my HDD to media/NAS, I find the subfolders there:
service kodi stop -> to be able to unmount the drive
umount dev/sda1 -> NAS vanishes from media (as expected)
service kodi stop -> NAS is here again, but why ;-)?
My idea is as follows (in this order):
Any hints of how to archieve this goal.
Kind regards,
Styrian
So I would like to prevent KODI from doing the auto-mount of the drive at startup. I had some check of the kodi script in /etc/init.d but could not find the place where to intervene:
After start, KODI mounts my HDD to media/NAS, I find the subfolders there:
service kodi stop -> to be able to unmount the drive
umount dev/sda1 -> NAS vanishes from media (as expected)
service kodi stop -> NAS is here again, but why ;-)?
My idea is as follows (in this order):
- Run a Shell script to mount my HDD (fstab entry does not work, as the drive is not ready when this is processed)
- Start Samba
- Start KODI
Any hints of how to archieve this goal.
Kind regards,
Styrian