Page 1 of 1

Is it possible to have two separate network share mounts?

Posted: Mon Aug 23, 2021 4:39 am
by passballtotucker
I already have my roms drive mounted with all my games. I would also like to mount my saves folder from my one drive called MiSter saves.

So this is the in the cifs mount script now: SHARE="Roms"
I've tried SHARE="Roms, MiSTer saves" and SHARE="Roms|MiSter saves" but neither work. Is there a way to do this or is it not possible?
Thanks.

Re: Is it possible to have two separate network share mounts?

Posted: Mon Aug 23, 2021 9:16 am
by Stupid Dufus
So you have two separate shares? If for some reason you can't combine your roms and save folder to the same network share, you could make a copy of cifs_mount.sh and .ini and set it up for the second share.

cp cifs_mount.sh savemount.sh
cp cifs_mount.ini savemount.ini

and then in your ini, change the CIFS settings.

And if you don't have an .ini already, here's an example:

Code: Select all

SERVER="myserver"
SHARE="mister_share"
USERNAME="user"
PASSWORD="password"
LOCAL_DIR="*"
WAIT_FOR_SERVER="true"
MOUNT_AT_BOOT="true"
ADDITIONAL_MOUNT_OPTIONS="vers=2.0"
Edit: You may not need that ADDITIONAL_MOUNT_OPTIONS line.