@
alexcding #10
reddit 上这个我实测有效,稳定性出现了史诗级进化,特别是两个远程 smb filesystem 通过 Mac 中转拷贝的时候,再也不会时不时速度就归零了。
好东西我就复制过来了,直接新建 /etc/nsmb.conf 配置后重新 mount 磁盘即可,最后注释掉的那个命令需要在命令行运行下,怕以后找不到了所以我放在 conf 里了哈哈。
[default]
# Disable SMB signing (reduces security)
signing_required=no
# Disable negotiation validation (reduces security)
validate_neg_off=yes
# Enable support for named streams
streams=yes
# Disable change notifications
notify_off=yes
# Enable soft mounts
soft=yes
# Disable directory caching
dir_cache_max_cnt=0
dir_cache_max=0
dir_cache_off=yes
# Disable NetBIOS and use direct hosting over TCP/IP (improves security)
port445=no_netbios
# Enable multi-channel support and prefer wired connections
mc_on=yes
mc_prefer_wired=yes
# prevent ds_store being created, run this command in terminal
# defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool TRUE