Posts by EugeneT

    Finally, I found a solution.
    I created new '[email protected]' in '/storage/.config/system.d/'.

    Code
    [Unit]
    Description=Udevil USB Drives mount service
    [Service]
    Type=oneshot
    ExecStart=-/usr/bin/udevil --mount /dev/%I /var/media/%I
    ExecStop=-/usr/bin/udevil --umount /dev/%I
    ExecStartPost=-/usr/lib/samba/samba-autoshare
    ExecStopPost=-/usr/lib/samba/samba-autoshare
    RemainAfterExit=yes

    Then I changed '95-udevil-mount.rules' to execute '[email protected] ' for connected USB drives.


    And now it worked for me as i expected.

    Hi!

    I came across this issue while working with Kodi on LibreELEC 12.0.2, installed on a Raspberry Pi 4. There were two USB drives with the same name, and when I connected them to Kodi's File Manager, it only showed one of the drives, the one that was connected last. If I disconnect last connected USB drive, the FileManager returns to show first USB drive.

    From what I understand, this is because the mount point for the drives is the same as their name. Is there any way to make Kodi see the two drives as two separate devices in FileManager, or force it to mount them using different names?