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

seggy

macrumors 6502
Original poster
Feb 13, 2016
465
311
After trying a few things which are just way too hokey to be worthy of The World's So-Called Most Advanced OS, I'd like to have a poke thru all the current good options available to mount SMB shares, i.e. including third party, paid tools. I hadn't really done a deep dive into it until now but things have just irritated me enough to do so.

I'm not looking for anything super complex. I'm just expecting:
- an alias of a mount on the desktop/finder without having to make it with a script that includes user creds but actually uses info in keychain
- for said alias to persist thru those SMB shares being down for any reason (e.g. some of the storage units I'd be connecting to would only be up during business hours)
- no obvious messages which I'm already aware of that continues to steal focus for several minutes if you have a lot of shares mounted
- no other dumb messages or manually inserted pauses needed when the share is clearly up and absolutely requires no delay to mount

Any suggestions?
 

Sciuriware

macrumors 6502a
Jan 4, 2014
758
165
Gelderland
After trying a few things which are just way too hokey to be worthy of The World's So-Called Most Advanced OS, I'd like to have a poke thru all the current good options available to mount SMB shares, i.e. including third party, paid tools. I hadn't really done a deep dive into it until now but things have just irritated me enough to do so.

I'm not looking for anything super complex. I'm just expecting:
- an alias of a mount on the desktop/finder without having to make it with a script that includes user creds but actually uses info in keychain
- for said alias to persist thru those SMB shares being down for any reason (e.g. some of the storage units I'd be connecting to would only be up during business hours)
- no obvious messages which I'm already aware of that continues to steal focus for several minutes if you have a lot of shares mounted
- no other dumb messages or manually inserted pauses needed when the share is clearly up and absolutely requires no delay to mount

Any suggestions?
Command line or spawned shell command with 5 arguments:
[0] /sbin/mount
[1] -t
[2] smbfs
[3] //<user>:<password>@<system>.local/CD/
[4] /Users/<user>/Volumes/<system>Share
The latter has been working for me on all Mac's for years. 'CD' is just a chosen name for the exported dir.
The only 'small' problem is that you must keep file sharing alive since Ventura:
Disable file sharing before reboot or shut down and re-enable it after restart.
;JOOP!
 

seggy

macrumors 6502
Original poster
Feb 13, 2016
465
311
Command line or spawned shell command with 5 arguments:
[0] /sbin/mount
[1] -t
[2] smbfs
[3] //<user>:<password>@<system>.local/CD/
[4] /Users/<user>/Volumes/<system>Share
The latter has been working for me on all Mac's for years. 'CD' is just a chosen name for the exported dir.
The only 'small' problem is that you must keep file sharing alive since Ventura:
Disable file sharing before reboot or shut down and re-enable it after restart.
;JOOP!

Maybe I should have made the post shorter, but that's *exactly* one of the hokey ways I don't want to use.
 

Slartibart

macrumors 68040
Aug 19, 2020
3,142
2,817
use Applescript and execute osascript -e 'mount volume "smb://user@server/share"'. this will use the user credentials from the keychain.
you can easily wrap this into a clickable program using e.g. Platypus
 
  • Like
Reactions: arw

arw

macrumors 65816
Aug 31, 2010
1,236
979
^ this.
I saved all of my commands in a text file (extension .sh with the header #!/bin/bash).
You can assign that file an icon and drag it onto the 'Finder bar' for easily executing it with one click when required.
Finder.Scripts.png
 
Last edited:
  • Like
Reactions: Slartibart

mwiggles

macrumors newbie
Apr 20, 2010
7
3
After trying a few things which are just way too hokey to be worthy of The World's So-Called Most Advanced OS, I'd like to have a poke thru all the current good options available to mount SMB shares, i.e. including third party, paid tools. I hadn't really done a deep dive into it until now but things have just irritated me enough to do so.

I'm not looking for anything super complex. I'm just expecting:
- an alias of a mount on the desktop/finder without having to make it with a script that includes user creds but actually uses info in keychain
- for said alias to persist thru those SMB shares being down for any reason (e.g. some of the storage units I'd be connecting to would only be up during business hours)
- no obvious messages which I'm already aware of that continues to steal focus for several minutes if you have a lot of shares mounted
- no other dumb messages or manually inserted pauses needed when the share is clearly up and absolutely requires no delay to mount

Any suggestions?
Automounter. It runs in your menu bar and lets you preconfigured SMB shares to monitor and mount automatically or manually. Great utility. I have mine set to just mount at boot. And even if one is offline for a reboot or whatever it will mount it again as soon as it becomes available.
 
  • Like
Reactions: noblesoul117

seggy

macrumors 6502
Original poster
Feb 13, 2016
465
311
Automounter. It runs in your menu bar and lets you preconfigured SMB shares to monitor and mount automatically or manually. Great utility. I have mine set to just mount at boot. And even if one is offline for a reboot or whatever it will mount it again as soon as it becomes available.
That seemed to be the goto from what I could search. Failing any other suggestions I'll probably end up going this route. $10 here, $20 there, $15 there, $5 elsewhere, etc etc... it does add up for basic functionality, ha
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.