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

getrealbro

macrumors 6502a
Original poster
Sep 25, 2015
604
262
The icon of a folder shared from our iMac (OS X 10.11.1) shows up twice on the desktop of my MacBook Pro (OS X 10.11.1). Get info shows that one is mounted as an SMB share and the other as an AFP share. The terminal command df -h confirms that the same folder is mounted twice as SMB and AFP.

Is this an El Capitan File Sharing bug, glitch or feature?

—GetRealBro
 

getrealbro

macrumors 6502a
Original poster
Sep 25, 2015
604
262
The issue of OS X 10.11.1 file shares being mounted as both SMB and AFP could be pretty common, but not recognized, because….
1 - Many (perhaps most) users don’t have the Finder set to Show Connected servers on their desktops. So they would never see both icons.
2 - Even when the file share is mounted as both SMB and AFP, the Finder window Sidebar only shows the Sever name, not the specific folder being shared.

FWIW I stumbled onto the SMB & AFP dual mount issue (bug, glitch or feature) while testing a bug in Quicktime Player where edited videos are visible in the Finder when saved to a AFP share, but are hidden if they are saved to a SMB share. BTW they are not hidden via the Unix convention (i.e. .filename) as confirmed via the Terminal.

The test goes like this….
1 - create a folder on the SMB share.
2 - open this folder using the Finder desktop icon mounted as SMB (Get Info to check SMB vs AFP)
3 - open this folder again using the Finder desktop icon mounted as AFP (keep both the SMB and AFP folder windows open)
4 - open a .mov file with Quicktime Player and make a simple (repeatable) edit
5 - close the .mov file and use Default Folder to select the folder opened from the SMB share
6 - save the edited video as TestSMB.mov
7 - open the same .mov file with Quicktime Player and make the same simple edit
8 - close the .mov file and use Default Folder to select the folder opened from the AFP share
9 - save the edited video as TestAFP.mov

What I end up with are the following files — TestSMB.AAE, TestAFP.AAE and TestAFP.mov. Get info on the folder shows that it takes up twice the space of the TestAFP.mov. This discrepancy is because the TestSMB.mov file is hidden.

—GetRealBro
 
  • Like
Reactions: grahamperrin
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.