Skip to content

cifs_mount.sh: SINGLE_CIFS_CONNECTION=false with LOCAL_DIR list #104

Description

@tjanas

cifs_mount.ini:

SHARE="mister/games"
LOCAL_DIR="NeoGeo-CD|PSX"
SINGLE_CIFS_CONNECTION="false"
BASE_PATH="/media/fat/games"
MOUNT_AT_BOOT="false"

Using a RetroNAS where I only want to mount and use a couple games directories to override those on the MiSTerFPGA SD card (in the above example, NeoGeo-CD and PSX).

If SINGLE_CIFS_CONNECTION="true", those two specific game directories are binded correctly, and with //retrosmb/mister/games/ mounted to /tmp/cifs_mount.

However, if I set SINGLE_CIFS_CONNECTION="false", I see the following:

/media/fat/Scripts# df -h
Filesystem                Size  Used Avail Use% Mounted on
/dev/loop8                348M  297M   25M  93% /
/dev/root                 367G  336G   32G  92% /media/fat
devtmpfs                  246M     0  246M   0% /dev
tmpfs                     247M     0  247M   0% /dev/shm
tmpfs                     247M  300K  246M   1% /tmp
tmpfs                     247M  244K  246M   1% /run
tmpfs                     247M     0  247M   0% /var/lib/samba
tmpfs                     247M  8.0K  247M   1% /var/db/dhcpcd
/dev/loop0                987K   29K  816K   4% /var/lib/bluetooth
//retrosmb/mister/games   13T  1.7T   12T  13% /media/fat/games/PSX
/media/fat/Scripts#

and

/media/fat/Scripts# ls /media/fat/games/NeoGeo-CD
AcornAtom      Amiga    Apple-II   Atari2600  AtariST             BK0011M        Casio_PV-2000  CreatiVision   Gamate      GBA      Homelab        Lynx48    MSX        NeoGeo-CD     Oric     PMD85              RX78      SGB       SPMX             TeleStrat     TomyTutor  VECTOR06         X68000
AcornElectron  Amstrad  AQUARIUS   ATARI5200  AVision             C128           ChannelF       EDSAC          GAMEBOY     GBA2P    Intellivision  MACPLUS   MSX1       NES           PC8801   PocketChallengeV2  S32X      SharpMZ   SuperVision      TGFX16        TRS-80     VECTREX          Zet98
Adam           AO486    Arcadia    ATARI7800  AY-3-8500           C16            CoCo2          eg2000         GAMEBOY2P   GBC      Interact       mame      MultiComp  ODYSSEY2      PCXT     PokemonMini        SAMCOUPE  SMS       SuperVision8000  TGFX16-CD     TSConf     VIC20            zx48
AliceMC10      APOGEE   Arduboy    ATARI800   BBCBridgeCompanion  C64            COCO3          EpochGalaxyII  GameGear    Genesis  Jupiter        MegaCD    MyVision   Ondra_SPO186  PDP1     PSX                Saturn    SNES      SVI328           TI-99_4A      UK101      WonderSwan       ZX81
Altair8800     APPLE-I  Astrocade  AtariLynx  BBCMicro            Casio_PV-1000  Coleco         Galaksija      GameNWatch  hbmame   Laser          MegaDuck  NeoGeo     ORAO          PET2001  QL                 SG1000SV  Spectrum  TatungEinstein   TomyScramble  VC4000     WonderSwanColor  ZXNext
/media/fat/Scripts# ls /media/fat/games/PSX/
AcornAtom      Amiga    Apple-II   Atari2600  AtariST             BK0011M        Casio_PV-2000  CreatiVision   Gamate      GBA      Homelab        Lynx48    MSX        NeoGeo-CD     Oric     PMD85              RX78      SGB       SPMX             TeleStrat     TomyTutor  VECTOR06         X68000
AcornElectron  Amstrad  AQUARIUS   ATARI5200  AVision             C128           ChannelF       EDSAC          GAMEBOY     GBA2P    Intellivision  MACPLUS   MSX1       NES           PC8801   PocketChallengeV2  S32X      SharpMZ   SuperVision      TGFX16        TRS-80     VECTREX          Zet98
Adam           AO486    Arcadia    ATARI7800  AY-3-8500           C16            CoCo2          eg2000         GAMEBOY2P   GBC      Interact       mame      MultiComp  ODYSSEY2      PCXT     PokemonMini        SAMCOUPE  SMS       SuperVision8000  TGFX16-CD     TSConf     VIC20            zx48
AliceMC10      APOGEE   Arduboy    ATARI800   BBCBridgeCompanion  C64            COCO3          EpochGalaxyII  GameGear    Genesis  Jupiter        MegaCD    MyVision   Ondra_SPO186  PDP1     PSX                Saturn    SNES      SVI328           TI-99_4A      UK101      WonderSwan       ZX81
Altair8800     APPLE-I  Astrocade  AtariLynx  BBCMicro            Casio_PV-1000  Coleco         Galaksija      GameNWatch  hbmame   Laser          MegaDuck  NeoGeo     ORAO          PET2001  QL                 SG1000SV  Spectrum  TatungEinstein   TomyScramble  VC4000     WonderSwanColor  ZXNext

Shouldn't the result be the same as with SINGLE_CIFS_CONNECTION="true"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions