MacResource
How are the SMB shares on OS X? - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: How are the SMB shares on OS X? (/showthread.php?tid=185087)



How are the SMB shares on OS X? - Bimwad - 11-15-2015

Never really used network drives on OS X, but I just got a cheap flash drive and set up Samba on the router to share files on the local network.

First test copy of a file stalled during the process, then stalled when I tried to abort (the Finder has never been good at that regardless). Unmounted, then remounted, and it went smoothly.

Just trying to figure out if it's the 10.11 Finder being flakey, something with the router, or both. It's an ASUS router, with an Ext2 drive, which is supposedly the favored format.

IIRC, at some point, Apple abandoned the commonly used, perfectly functional framework, and tried to roll their own, to poor reviews. But that was a while ago, so things should be working properly now, at least?


Re: How are the SMB shares on OS X? - Onamuji - 11-15-2015

Bimwad wrote:
IIRC, at some point, Apple abandoned the commonly used, perfectly functional framework, and tried to roll their own, to poor reviews. But that was a while ago, so things should be working properly now, at least?

Apple abandoned the open source Samba in favor of a home-built solution based upon licensed Microsoft SMB code when the terms of the open source license changed to GPLv3. SMB sucks. Cant deal with ACLs properly. Screws up inheritance. Makes admin of a cross-platform server a nightmare.

But for your purposes... In the connect-to window, preface the IP address of your router with cifs:// instead of smb:// to use the simplest and most reliable way of connecting.


Re: How are the SMB shares on OS X? - Bimwad - 11-15-2015

Got it, thanks.

When logged in from a Windows machine, I noticed the detritus that OS X litters volumes with. Is there a good way to prevent, or keep that under control?

I'm familiar with the dot_clean command. Is that something I have to apply to all the files I upload to that drive, or is there another way?

The .trashes, .Spotlight etc. are easier to ignore. Even W10 now sticks a Volume Information folder on everything it mounts.


Re: How are the SMB shares on OS X? - Onamuji - 11-15-2015

Bimwad wrote:
When logged in from a Windows machine, I noticed the detritus that OS X litters volumes with. Is there a good way to prevent, or keep that under control?

From 10.4-10.10 a simple Terminal command would reduce the litter. I've heard that it no longer works in El Cap.

defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true


Re: How are the SMB shares on OS X? - Bimwad - 11-15-2015

Thanks, I'll give it a try.


Re: How are the SMB shares on OS X? - silvarios - 11-15-2015

Onamuji wrote:
[quote=Bimwad]
IIRC, at some point, Apple abandoned the commonly used, perfectly functional framework, and tried to roll their own, to poor reviews. But that was a while ago, so things should be working properly now, at least?

Apple abandoned the open source Samba in favor of a home-built solution based upon licensed Microsoft SMB code when the terms of the open source license changed to GPLv3. SMB sucks. Cant deal with ACLs properly. Screws up inheritance. Makes admin of a cross-platform server a nightmare.

But for your purposes... In the connect-to window, preface the IP address of your router with cifs:// instead of smb:// to use the simplest and most reliable way of connecting.
Too bad Apple didn't bother to actually update the older versions of Samba to the last update of their branch. Apple's Unix tools are almost always woefully out of date, even disregarding any licensing changes.

Edit: I suppose people seriously into these tools just compile their own or use one of the package manager systems like HomeBrew, Fink, or MacPorts.