Scripts folder and cifs__mount
Posted: Fri Feb 25, 2022 4:12 pm
I've had a rather pleasant afternoon getting MiSTer to run from my NAS using the cifs_mount script. However, one thing puzzles me.
I did a completely fresh install of MiSTer Fusion onto the stock 8GB card that comes with the DE10, after I'd copied the /media/fat folder structure and contents to the share I'd created from the previous 65GB card I was using.
Once I had it running (tested with a few games that could only be on the NAS) I decide to run the update_all script just to make sure everything was shipshape. Except...the update_all script wasn't there.
Long story short, the Script menu was still accessing /media/fat/Scripts instead of /media/fat/cifs/Scripts. My cifs_mount script has only had the IP address, username/password, and the two options to make it wait until the share is available. All other options are stock.
Am I correct in thinking the Scripts menu doesn't know/care about the cifs mount? I've solved this by creating a symlink after renaming the /media/fat/Scripts folder to be 1-Scripts
cd /media/fat
ln -s ./cifs/Scripts
This seems to work but I'm curious to know if this is recommended, or even expected behaviour.
Lots to learn still!
I did a completely fresh install of MiSTer Fusion onto the stock 8GB card that comes with the DE10, after I'd copied the /media/fat folder structure and contents to the share I'd created from the previous 65GB card I was using.
Once I had it running (tested with a few games that could only be on the NAS) I decide to run the update_all script just to make sure everything was shipshape. Except...the update_all script wasn't there.
Long story short, the Script menu was still accessing /media/fat/Scripts instead of /media/fat/cifs/Scripts. My cifs_mount script has only had the IP address, username/password, and the two options to make it wait until the share is available. All other options are stock.
Am I correct in thinking the Scripts menu doesn't know/care about the cifs mount? I've solved this by creating a symlink after renaming the /media/fat/Scripts folder to be 1-Scripts
cd /media/fat
ln -s ./cifs/Scripts
This seems to work but I'm curious to know if this is recommended, or even expected behaviour.
Lots to learn still!