Open bmahabirbu opened 3 months ago
I see you undone all changes to automount-usb.sh made in the last commit. was this intentional?
It was not my mistake, I ended up replacing the contents of automount-usb.sh as my debugging environment was different than the repo I cloned.
I updated my forked repo so it only shows the changed I added
This aims to fix the issue where the udev rule spits out a random partition in sda that might not contribute to the partition that has the games.
For example lets say we have a USB drive that has sda sda1 - 30m sda2 - 200gb
since the udev rule will detect sda being added it will always forward the first partition and update the samba share config with sda1 instead of sda2
at first, the idea was to sort the partitions by size but it was finicky. In the end I settled on looking for a label as it was more straightforward