Is it possible to have two separate network share mounts?

For topics which do not fit in other specific forums.
passballtotucker
Posts: 11
Joined: Sat Aug 21, 2021 2:21 am
Has thanked: 2 times
Been thanked: 1 time

Is it possible to have two separate network share mounts?

Unread post 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.
Stupid Dufus
Posts: 157
Joined: Sun Aug 30, 2020 12:04 am
Has thanked: 98 times
Been thanked: 46 times

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

Unread post 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.
Post Reply