I have the OS on a USB stick which is nicely portable.
It is bootable on most hardware.That hardware is not necessarily mine ..... and even if it was ....... I do not want unintended mounting of partitions in that hardware, but rather only mount a partition if a need arises.
I couldn't do it in any case, as I know nothing of systemd
I will keep looking for alternatives, thanks
I have a external drive with 2 partitions, the libreelec was mounted only the first. Now it is mount the 2 partitions. I had this changes:
1) cp /usr/lib/udev/rules.d/95-udevil-mount.rules /storage/.config/udev.rules.d/
2) edit the file: /storage/.config/udev.rules.d/95-udevil-mount.rules
SUBSYSTEM!="block", KERNEL!="sd*|sr*|mmc*", GOTO="exit"
-> SUBSYSTEM!="block", KERNEL!="sda?|sr*|mmc*", GOTO="exit"
KERNEL=="sda?|mmc*", ENV{DEVTYPE}=="partition|disk", ENV{ID_FS_USAGE}=="filesystem", GOTO="harddisk"
-> KERNEL=="sda?|mmc*", ENV{DEVTYPE}=="partition|disk", ENV{ID_FS_USAGE}=="filesystem", GOTO="harddisk"
3) reboot de system
I hope this help you...