2016-05-18, 01:06
Hello all,
I do use Kodi on a dedicated appliance on top of a plain Xserver. No underlying WM/DM is running, which would manage removable storage (ODDs, USB HDDs) for a regular user compareable to what happens on a typical desktop platform - mount/umount as a user. This used to be done by Kodi and udisks1 for me.
Since udisks1 is deprecated for a while now I wanted to switch to an alternative solution. What I can tell from the sources, Kodi does not provide an interface to fill this gap. There does not seem to exist a oob solution right now and it seems to be like it is impossible without udisks1 to safely umount a device from within Kodi.
Judging from https://github.com/xbmc/xbmc/tree/master...rage/linux we have interfaces for a couple of things:
+ devicekit (deprecated)
+ udev (supports only embedded systems with root only access, love goes to embedded see comment and pr https://github.com/xbmc/xbmc/pull/4158)
+ udisks1 (deprecated)
This might not a problem for a classic desktop or an embedded system. But it does not fill the gap between both of these.
Currently a couple of utils come into my mind to fill the udisks1 gap:
+ udisks2
+ udevil (in a way similar to pmount (support was removed years ago in favor of udisks1 iirc))
If I'm missing something in order to mount and umount automatically as a regular user from within Kodi without udisks1 then just let me know please.
Cheers
I do use Kodi on a dedicated appliance on top of a plain Xserver. No underlying WM/DM is running, which would manage removable storage (ODDs, USB HDDs) for a regular user compareable to what happens on a typical desktop platform - mount/umount as a user. This used to be done by Kodi and udisks1 for me.
Since udisks1 is deprecated for a while now I wanted to switch to an alternative solution. What I can tell from the sources, Kodi does not provide an interface to fill this gap. There does not seem to exist a oob solution right now and it seems to be like it is impossible without udisks1 to safely umount a device from within Kodi.
Judging from https://github.com/xbmc/xbmc/tree/master...rage/linux we have interfaces for a couple of things:
+ devicekit (deprecated)
+ udev (supports only embedded systems with root only access, love goes to embedded see comment and pr https://github.com/xbmc/xbmc/pull/4158)
+ udisks1 (deprecated)
This might not a problem for a classic desktop or an embedded system. But it does not fill the gap between both of these.
Currently a couple of utils come into my mind to fill the udisks1 gap:
+ udisks2
+ udevil (in a way similar to pmount (support was removed years ago in favor of udisks1 iirc))
If I'm missing something in order to mount and umount automatically as a regular user from within Kodi without udisks1 then just let me know please.
Cheers