I'm trying to port a certain software from one linux device to another. My software has a lot of lines pointing to /sys/bus/spi/devices/spi3.0. In the Linux device I'm porting to, that folder does not exist, it's in another place.Is there a way to symlink so that the software goes to, say for e.g. /tmp/folder instead?I've been trying to use ln -s but I get complaints that the folder /sys/bus/spi/devices/spi3.0 does not exist. I know there are solutions for this if the device really exists but in my case /sys/bus/spi/devices/spi3.0 does not exist on the target machine.
Symlink to /sys/bus/spi/devices
symlink;devices;sysfs