Posts: 14
Joined: Oct 2011
Reputation:
0
Thanks fritsch, understood. Thank you.
Posts: 824
Joined: Jun 2005
Reputation:
6
Hi, anyone knows if it is possible to mount removable devices to /media/<LABEL> instead of /media/kodi/<LABEL> ?
Posts: 23,468
Joined: Aug 2011
Reputation:
1,101
fritsch
Team-Kodi Developer
Posts: 23,468
No. On bootup it is auto mounted by the system for you and if plugged in later the mounts are done in kodi user's context.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.
Posts: 824
Joined: Jun 2005
Reputation:
6
Just to be more clear:
kodi started , removable drive not connected
sudo service kodi stop
plug in removable drive (no automount at this point)
sudo service kodi start - automount now appears in /media/<label>
unplug removable drive
plug in removable drive - automount now appears in /media/kodi/label>
is this expected behaviour?
My other box is kodibuntu (14.04 lts) with jarvis and removable drives are always automounted to /media/<label>.
Do you know if automount behavior was specific for this distribution or something changed in kodis automount handling code later on?
I'm not sure if I understand it correctly, but should it be possible to automount in 18.04 to /media/<label> when kodi is running and handling automount or not?
Posts: 824
Joined: Jun 2005
Reputation:
6
2018-06-01, 18:17
(This post was last modified: 2018-06-01, 18:18 by ezechiel1917.)
fritsch:
I've double checked all possible logs and found udisks2 can't automount removable device because it gets mounted faster by udevil to /media/kodi/<label>.
Solution:
sudo apt-get remove udevil
Now removable devices are always mounted with udisks2 udev rule from your link to /media/<label>
Thanks for your help.
Posts: 23,468
Joined: Aug 2011
Reputation:
1,101
fritsch
Team-Kodi Developer
Posts: 23,468
ah! yes of course!!! I will remove udevil from the howto - it's not more needed for v18 or later.
First decide what functions / features you expect from a system. Then decide for the hardware. Don't waste your money on crap.