Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Buadhai

macrumors 65816
Original poster
Jan 15, 2018
1,126
436
Korat, Thailand
This on a 2017 iMac running 10.15.7

I'm a little confused as to how the Finder displays mounted SMB shares.

I have a remote Raspberry Pi which is behind a double NAT. I have set up a reverse SSH tunnel for access to SMB shares. The code on the Pi looks like this:

Code:
ssh -nNTC  -R 33445:localhost:445 me@my.domain.com -p 30000

If I connect to a share via the Finder using this URI: smb://pi@localhost:33445/chaammountain/

The Finder creates a mount point in /Volumes as follows:

Code:
MrMuscle:~ mnewman$ cd /Volumes/chaammountain/
MrMuscle:chaammountain mnewman$ pwd
/Volumes/chaammountain

However, in the Finder, the SMB share is not shown at all except as a share called "localhost" under Locations/Network. (I do have "Connected servers" selected in Locations in the Finder's Sidebar preferences.)

On the other hand, Path Finder displays the SMB share in Devices as chaammountain.

I guess this the way the Finder is supposed to work, but I find it odd that a mounted share doesn't show up in what the Finder calls Locations and that you have to dig for it.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.