Make required directories mkdir -p /userdata/custom/bin && cd /userdata/custom/bin/
Download newest static mergerfs build, current built now can be found HERE
extract tar -xvzf FLIE_NAME.tgz
Move the mergerfs bin to /userdata/custom/bin and delete the other stuff
Batocera will mount some disks and not others, not sure of how they do, but just check to make sure all of the disks you want are mounted and if not add the mountpoints to the script below
To disable sleep run the following commands
for f in $(ls -l /dev/disk/by-id/ | grep ata-ST | rev | cut -d'/' -f1 | rev | sed 's/9//g' | sed 's/1//g' | sort | uniq); do /opt/openseachest/openSeaChest-v23.03.1-linux-x86_64-portable/openSeaChest_PowerControl -d "/dev/${f}" --powerBalanceFeature disable; done
for f in $(ls -l /dev/disk/by-id/ | grep ata-ST | rev | cut -d'/' -f1 | rev | sed 's/9//g' | sed 's/1//g' | sort | uniq); do /opt/openseachest/openSeaChest-v23.03.1-linux-x86_64-portable/openSeaChest_PowerControl -d "/dev/${f}" --EPCfeature disable; done